77 branches :
88 - ' main'
99
10+ concurrency :
11+ group : release-${{ github.ref }}
12+ cancel-in-progress : false
1013
1114jobs :
1215 macos :
1316 runs-on : macos-latest
1417 strategy :
1518 matrix :
16- python-version : ["3.10", "3.11", "3.12"]
19+ python-version : ["3.10", "3.11", "3.12", "3.13" ]
1720 target : [x64, aarch64]
1821 steps :
1922 - uses : actions/checkout@v4
23+ - uses : Swatinem/rust-cache@v2
24+ with :
25+ key : ${{ matrix.target }}
2026 - name : Set up Python ${{ matrix.python-version }}
2127 uses : actions/setup-python@v5
2228 with :
@@ -32,15 +38,19 @@ jobs:
3238 with :
3339 name : macos-wheels-${{ matrix.python-version }}-${{matrix.target}}
3440 path : dist
41+ retention-days : 3
3542
3643 windows :
3744 runs-on : windows-latest
3845 strategy :
3946 matrix :
40- python-version : ["3.10", "3.11", "3.12"]
47+ python-version : ["3.10", "3.11", "3.12", "3.13" ]
4148 target : [x64]
4249 steps :
4350 - uses : actions/checkout@v4
51+ - uses : Swatinem/rust-cache@v2
52+ with :
53+ key : ${{ matrix.target }}
4454 - name : Set up Python ${{ matrix.python-version }}
4555 uses : actions/setup-python@v5
4656 with :
@@ -56,15 +66,19 @@ jobs:
5666 with :
5767 name : windows-wheels-${{ matrix.python-version }}-${{ matrix.target }}
5868 path : dist
69+ retention-days : 3
5970
6071 linux :
6172 runs-on : ubuntu-latest
6273 strategy :
6374 matrix :
64- python-version : ["3.10", "3.11", "3.12"]
75+ python-version : ["3.10", "3.11", "3.12", "3.13" ]
6576 target : [x86_64, aarch64]
6677 steps :
6778 - uses : actions/checkout@v4
79+ - uses : Swatinem/rust-cache@v2
80+ with :
81+ key : ${{ matrix.target }}
6882 - name : Set up Python ${{ matrix.python-version }}
6983 uses : actions/setup-python@v5
7084 with :
86100 with :
87101 name : linux-wheels-${{ matrix.python-version }}-${{ matrix.target }}
88102 path : dist
103+ retention-days : 3
89104
90105 # TODO Add pypy
91106
@@ -108,4 +123,5 @@ jobs:
108123 TWINE_PASSWORD : ${{ secrets.PYPI_UPLOAD_TOKEN }}
109124 run : |
110125 pip install --upgrade twine
111- twine upload --skip-existing *
126+ twine check *
127+ twine upload --skip-existing --verbose *
0 commit comments