Skip to content

Commit 8528c3e

Browse files
authored
Merge pull request #28 from avandecreme/python-3-13-wheels
Build wheels for python 3.13
2 parents ce09f22 + b0ef95a commit 8528c3e

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/distribute.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
tags:
1313
- '*'
1414

15+
env:
16+
UNIX_PYTHON_VERSIONS: 3.7 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.7 pypy3.8 pypy3.9 pypy3.10
17+
WINDOWS_PYTHON_VERSIONS: 3.7 3.8 3.9 3.10 3.11 3.12
18+
1519
permissions:
1620
contents: read
1721

@@ -30,7 +34,7 @@ jobs:
3034
uses: PyO3/maturin-action@v1
3135
with:
3236
target: ${{ matrix.target }}
33-
args: --release --out dist --find-interpreter
37+
args: --release --out dist --interpreter ${{ env.UNIX_PYTHON_VERSIONS }}
3438
sccache: 'true'
3539
manylinux: auto
3640
- name: Upload wheels
@@ -63,7 +67,7 @@ jobs:
6367
uses: PyO3/maturin-action@v1
6468
with:
6569
target: ${{ matrix.platform.target }}
66-
args: --release --out dist --find-interpreter
70+
args: --release --out dist --interpreter ${{ env.UNIX_PYTHON_VERSIONS }}
6771
sccache: 'true'
6872
manylinux: musllinux_1_1
6973
container: off
@@ -88,7 +92,7 @@ jobs:
8892
uses: PyO3/maturin-action@v1
8993
with:
9094
target: ${{ matrix.target }}
91-
args: --release --out dist --find-interpreter
95+
args: --release --out dist --interpreter ${{ env.WINDOWS_PYTHON_VERSIONS }}
9296
sccache: 'true'
9397
- name: Upload wheels
9498
uses: actions/upload-artifact@v3
@@ -110,7 +114,7 @@ jobs:
110114
uses: PyO3/maturin-action@v1
111115
with:
112116
target: ${{ matrix.target }}
113-
args: --release --out dist --find-interpreter
117+
args: --release --out dist --interpreter ${{ env.UNIX_PYTHON_VERSIONS }}
114118
sccache: 'true'
115119
- name: Upload wheels
116120
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)