Skip to content

Commit

Permalink
Refactor build.yaml workflow: Add support for Python versions 3.9, 3.…
Browse files Browse the repository at this point in the history
…10, 3.11, and 3.12
  • Loading branch information
royshil committed Oct 18, 2024
1 parent 300129d commit 21fcb6e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
include:
# Windows builds
- os: windows-latest
Expand Down Expand Up @@ -44,7 +45,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
Expand Down Expand Up @@ -82,7 +83,7 @@ jobs:
- name: Set wheel name
shell: pwsh
run: |
$wheelName = "wheel-${{ matrix.os }}-${{ matrix.platform }}"
$wheelName = "wheel-${{ matrix.os }}-${{ matrix.platform }}-py${{ matrix.python-version }}"
if ("${{ matrix.acceleration }}" -ne "") {
$wheelName += "-${{ matrix.acceleration }}"
}
Expand Down

0 comments on commit 21fcb6e

Please sign in to comment.