55 types :
66 - published
77
8+ env :
9+ PYTHON_VERSION : " 3.12"
10+
811permissions :
912 contents : read
1013
@@ -18,12 +21,13 @@ jobs:
1821 - uses : actions/checkout@v4
1922 - uses : actions/setup-python@v5
2023 with :
21- python-version : " 3.11 "
24+ python-version : ${{ env.PYTHON_VERSION }}
2225 - name : Build wheels
2326 uses : PyO3/maturin-action@v1
2427 with :
2528 target : ${{ matrix.target }}
26- args : --release --out dist --find-interpreter
29+ # args: --release --out dist --find-interpreter
30+ args : --release -out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
2731 sccache : " true"
2832 manylinux : auto
2933 - name : Upload wheels
@@ -41,13 +45,14 @@ jobs:
4145 - uses : actions/checkout@v4
4246 - uses : actions/setup-python@v5
4347 with :
44- python-version : " 3.11 "
48+ python-version : ${{ env.PYTHON_VERSION" }}
4549 architecture : ${{ matrix.target }}
4650 - name : Build wheels
4751 uses : PyO3/maturin-action@v1
4852 with :
4953 target : ${{ matrix.target }}
50- args : --release --out dist --find-interpreter
54+ # args: --release --out dist --find-interpreter
55+ args : --release -out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
5156 sccache : " true"
5257 - name : Upload wheels
5358 uses : actions/upload-artifact@v4
@@ -64,12 +69,13 @@ jobs:
6469 - uses : actions/checkout@v4
6570 - uses : actions/setup-python@v5
6671 with :
67- python-version : " 3.11 "
72+ python-version : ${{ env.PYTHON_VERSION" }}
6873 - name : Build wheels
6974 uses : PyO3/maturin-action@v1
7075 with :
7176 target : ${{ matrix.target }}
72- args : --release --out dist --find-interpreter
77+ # args: --release --out dist --find-interpreter
78+ args : --release -out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
7379 sccache : " true"
7480 - name : Upload wheels
7581 uses : actions/upload-artifact@v4
8389 - uses : actions/checkout@v4
8490 - uses : actions/setup-python@v5
8591 with :
86- python-version : " 3.11 "
92+ python-version : ${{ env.PYTHON_VERSION" }}
8793 - name : Build sdist
8894 uses : PyO3/maturin-action@v1
8995 with :
@@ -104,7 +110,7 @@ jobs:
104110 - uses : actions/download-artifact@v4
105111 - uses : actions/setup-python@v5
106112 with :
107- python-version : " 3.11 "
113+ python-version : ${{ env.PYTHON_VERSION" }}
108114 - name : Publish to PyPI
109115 uses : PyO3/maturin-action@v1
110116 env :
0 commit comments