@@ -249,6 +249,19 @@ jobs:
249
249
250
250
./build-linux.py --target-triple ${{ matrix.target_triple }} --python cpython-${{ matrix.python }} --options ${{ matrix.build_options }}
251
251
252
+ - name : Generate attestations
253
+ uses : actions/attest-build-provenance@v2
254
+ if : ${{ github.ref == 'refs/heads/main' }}
255
+ with :
256
+ subject-path : dist/*
257
+
258
+ - name : Upload Distribution
259
+ if : ${{ ! matrix.dry-run }}
260
+ uses : actions/upload-artifact@v4
261
+ with :
262
+ name : cpython-${{ matrix.python }}-${{ matrix.target_triple }}-${{ matrix.build_options }}
263
+ path : dist/*
264
+
252
265
- name : Validate Distribution
253
266
if : ${{ ! matrix.dry-run }}
254
267
run : |
@@ -267,19 +280,6 @@ jobs:
267
280
268
281
build/pythonbuild validate-distribution ${EXTRA_ARGS} dist/*.tar.zst
269
282
270
- - name : Generate attestations
271
- uses : actions/attest-build-provenance@v2
272
- if : ${{ github.ref == 'refs/heads/main' }}
273
- with :
274
- subject-path : dist/*
275
-
276
- - name : Upload Distribution
277
- if : ${{ ! matrix.dry-run }}
278
- uses : actions/upload-artifact@v4
279
- with :
280
- name : cpython-${{ matrix.python }}-${{ matrix.target_triple }}-${{ matrix.build_options }}
281
- path : dist/*
282
-
283
283
build-1 :
284
284
needs :
285
285
- generate-matrix
@@ -349,6 +349,19 @@ jobs:
349
349
350
350
./build-linux.py --target-triple ${{ matrix.target_triple }} --python cpython-${{ matrix.python }} --options ${{ matrix.build_options }}
351
351
352
+ - name : Generate attestations
353
+ uses : actions/attest-build-provenance@v2
354
+ if : ${{ github.ref == 'refs/heads/main' }}
355
+ with :
356
+ subject-path : dist/*
357
+
358
+ - name : Upload Distribution
359
+ if : ${{ ! matrix.dry-run }}
360
+ uses : actions/upload-artifact@v4
361
+ with :
362
+ name : cpython-${{ matrix.python }}-${{ matrix.target_triple }}-${{ matrix.build_options }}
363
+ path : dist/*
364
+
352
365
- name : Validate Distribution
353
366
if : ${{ ! matrix.dry-run }}
354
367
run : |
@@ -366,16 +379,3 @@ jobs:
366
379
fi
367
380
368
381
build/pythonbuild validate-distribution ${EXTRA_ARGS} dist/*.tar.zst
369
-
370
- - name : Generate attestations
371
- uses : actions/attest-build-provenance@v2
372
- if : ${{ github.ref == 'refs/heads/main' }}
373
- with :
374
- subject-path : dist/*
375
-
376
- - name : Upload Distribution
377
- if : ${{ ! matrix.dry-run }}
378
- uses : actions/upload-artifact@v4
379
- with :
380
- name : cpython-${{ matrix.python }}-${{ matrix.target_triple }}-${{ matrix.build_options }}
381
- path : dist/*
0 commit comments