1
- # This file is autogenerated by maturin v1.6.0
1
+ # This file is autogenerated by maturin v1.8.1
2
2
# To update, run
3
3
#
4
4
# maturin generate-ci github
@@ -24,17 +24,17 @@ jobs:
24
24
strategy :
25
25
matrix :
26
26
platform :
27
- - runner : ubuntu-latest
27
+ - runner : ubuntu-22.04
28
28
target : x86_64
29
- - runner : ubuntu-latest
29
+ - runner : ubuntu-22.04
30
30
target : x86
31
- - runner : ubuntu-latest
31
+ - runner : ubuntu-22.04
32
32
target : aarch64
33
- - runner : ubuntu-latest
33
+ - runner : ubuntu-22.04
34
34
target : armv7
35
- - runner : ubuntu-latest
35
+ - runner : ubuntu-22.04
36
36
target : s390x
37
- - runner : ubuntu-latest
37
+ - runner : ubuntu-22.04
38
38
target : ppc64le
39
39
steps :
40
40
- uses : actions/checkout@v4
@@ -59,13 +59,13 @@ jobs:
59
59
strategy :
60
60
matrix :
61
61
platform :
62
- - runner : ubuntu-latest
62
+ - runner : ubuntu-22.04
63
63
target : x86_64
64
- - runner : ubuntu-latest
64
+ - runner : ubuntu-22.04
65
65
target : x86
66
- - runner : ubuntu-latest
66
+ - runner : ubuntu-22.04
67
67
target : aarch64
68
- - runner : ubuntu-latest
68
+ - runner : ubuntu-22.04
69
69
target : armv7
70
70
steps :
71
71
- uses : actions/checkout@v4
@@ -117,7 +117,7 @@ jobs:
117
117
strategy :
118
118
matrix :
119
119
platform :
120
- - runner : macos-12
120
+ - runner : macos-13
121
121
target : x86_64
122
122
- runner : macos-14
123
123
target : aarch64
@@ -156,11 +156,23 @@ jobs:
156
156
release :
157
157
name : Release
158
158
runs-on : ubuntu-latest
159
- if : " startsWith(github.ref, 'refs/tags/')"
159
+ if : ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
160
160
needs : [linux, musllinux, windows, macos, sdist]
161
+ permissions :
162
+ # Use to sign the release artifacts
163
+ id-token : write
164
+ # Used to upload release artifacts
165
+ contents : write
166
+ # Used to generate artifact attestation
167
+ attestations : write
161
168
steps :
162
169
- uses : actions/download-artifact@v4
170
+ - name : Generate artifact attestation
171
+ uses : actions/attest-build-provenance@v1
172
+ with :
173
+ subject-path : ' wheels-*/*'
163
174
- name : Publish to PyPI
175
+ if : ${{ startsWith(github.ref, 'refs/tags/') }}
164
176
uses : PyO3/maturin-action@v1
165
177
env :
166
178
MATURIN_PYPI_TOKEN : ${{ secrets.PYPI_API_TOKEN }}
0 commit comments