Skip to content

Commit

Permalink
Use matrix-based Python versions in release script
Browse files Browse the repository at this point in the history
Prior to this, the release didn't include certain macos wheels as
described in #154.
  • Loading branch information
seddonym committed Jun 18, 2024
1 parent 5a2511f commit f0c39dd
Showing 1 changed file with 24 additions and 7 deletions.
31 changes: 24 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ on:
permissions:
contents: read

env:
PYTHON_VERSION: "3.x"

jobs:
linux:
runs-on: ${{ matrix.platform.runner }}
Expand All @@ -43,7 +40,12 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
python-version: |
3.8
3.9
3.10
3.11
3.12
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down Expand Up @@ -74,7 +76,12 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
python-version: |
3.8
3.9
3.10
3.11
3.12
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand All @@ -101,7 +108,12 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
python-version: |
3.8
3.9
3.10
3.11
3.12
architecture: ${{ matrix.platform.target }}
- name: Build wheels
uses: PyO3/maturin-action@v1
Expand All @@ -128,7 +140,12 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
python-version: |
3.8
3.9
3.10
3.11
3.12
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down

0 comments on commit f0c39dd

Please sign in to comment.