File tree 1 file changed +41
-0
lines changed
1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ jobs:
149
149
- name : " Install Python 3.8"
150
150
uses : actions/setup-python@v4
151
151
with :
152
+ # PYVERSIONS
152
153
python-version : " 3.8"
153
154
cache : pip
154
155
cache-dependency-path : ' requirements/*.pip'
@@ -175,6 +176,7 @@ jobs:
175
176
with :
176
177
name : dist
177
178
path : wheelhouse/*.whl
179
+ retention-days : 7
178
180
179
181
sdist :
180
182
name : " Source distribution"
@@ -186,6 +188,7 @@ jobs:
186
188
- name : " Install Python 3.8"
187
189
uses : actions/setup-python@v4
188
190
with :
191
+ # PYVERSIONS
189
192
python-version : " 3.8"
190
193
cache : pip
191
194
cache-dependency-path : ' requirements/*.pip'
@@ -207,6 +210,7 @@ jobs:
207
210
with :
208
211
name : dist
209
212
path : dist/*.tar.gz
213
+ retention-days : 7
210
214
211
215
pypy :
212
216
name : " PyPy wheel"
@@ -241,3 +245,40 @@ jobs:
241
245
with :
242
246
name : dist
243
247
path : dist/*.whl
248
+ retention-days : 7
249
+
250
+ sign :
251
+ # This signs our artifacts, but we don't use the signatures for anything
252
+ # yet. Someday maybe PyPI will have a way to upload and verify them.
253
+ name : " Sign artifacts"
254
+ needs :
255
+ - wheels
256
+ - sdist
257
+ - pypy
258
+ runs-on : ubuntu-latest
259
+ permissions :
260
+ id-token : write
261
+ steps :
262
+ - name : " Download artifacts"
263
+ uses : actions/download-artifact@v3
264
+ with :
265
+ name : dist
266
+
267
+ - name : " Sign artifacts"
268
+
269
+ with :
270
+ inputs : coverage-*.*
271
+
272
+ - name : " List files"
273
+ run : |
274
+ ls -alR
275
+
276
+ - name : " Upload signatures"
277
+ uses : actions/upload-artifact@v3
278
+ with :
279
+ name : signatures
280
+ path : |
281
+ *.crt
282
+ *.sig
283
+ *.sigstore
284
+ retention-days : 7
You can’t perform that action at this time.
0 commit comments