1- # This file is autogenerated by maturin v1.7 .6
1+ # This file is autogenerated by maturin v1.9 .6
22# To update, run
33#
4- # maturin generate-ci github -o .\.github\workflows\CI.yml
4+ # maturin generate-ci github
55#
66name : CI
77
4646 with :
4747 target : ${{ matrix.platform.target }}
4848 args : --release --out dist --find-interpreter
49- sccache : ' true '
49+ sccache : ${{ !startsWith(github.ref, 'refs/tags/') }}
5050 manylinux : auto
5151 - name : Upload wheels
5252 uses : actions/upload-artifact@v4
7777 with :
7878 target : ${{ matrix.platform.target }}
7979 args : --release --out dist --find-interpreter
80- sccache : ' true '
80+ sccache : ${{ !startsWith(github.ref, 'refs/tags/') }}
8181 manylinux : musllinux_1_2
8282 - name : Upload wheels
8383 uses : actions/upload-artifact@v4
@@ -105,7 +105,7 @@ jobs:
105105 with :
106106 target : ${{ matrix.platform.target }}
107107 args : --release --out dist --find-interpreter
108- sccache : ' true '
108+ sccache : ${{ !startsWith(github.ref, 'refs/tags/') }}
109109 - name : Upload wheels
110110 uses : actions/upload-artifact@v4
111111 with :
@@ -131,7 +131,7 @@ jobs:
131131 with :
132132 target : ${{ matrix.platform.target }}
133133 args : --release --out dist --find-interpreter
134- sccache : ' true '
134+ sccache : ${{ !startsWith(github.ref, 'refs/tags/') }}
135135 - name : Upload wheels
136136 uses : actions/upload-artifact@v4
137137 with :
@@ -168,11 +168,11 @@ jobs:
168168 steps :
169169 - uses : actions/download-artifact@v4
170170 - name : Generate artifact attestation
171- uses : actions/attest-build-provenance@v1
171+ uses : actions/attest-build-provenance@v2
172172 with :
173173 subject-path : ' wheels-*/*'
174174 - name : Publish to PyPI
175- if : " startsWith(github.ref, 'refs/tags/')"
175+ if : ${{ startsWith(github.ref, 'refs/tags/') }}
176176 uses : PyO3/maturin-action@v1
177177 env :
178178 MATURIN_PYPI_TOKEN : ${{ secrets.PYPI_API_TOKEN }}
0 commit comments