File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -426,6 +426,10 @@ jobs:
426426 process_artifacts_combined :
427427 name : Process artifacts combined
428428 needs : [build_and_lint, runtime_node_modules_cache]
429+ permissions :
430+ # https://github.com/actions/attest-build-provenance
431+ id-token : write
432+ attestations : write
429433 runs-on : ubuntu-latest
430434 steps :
431435 - uses : actions/checkout@v4
@@ -468,13 +472,18 @@ jobs:
468472 # TODO: Migrate scripts to use `build` directory instead of `build2`
469473 - run : cp ./build.tgz ./build2.tgz
470474 - name : Archive build artifacts
475+ id : upload_artifacts_combined
471476 uses : actions/upload-artifact@v4
472477 with :
473478 name : artifacts_combined
474479 path : |
475480 ./build.tgz
476481 ./build2.tgz
477482 if-no-files-found : error
483+ - uses : actions/attest-build-provenance@v2
484+ with :
485+ subject-name : artifacts_combined.zip
486+ subject-digest : sha256:${{ steps.upload_artifacts_combined.outputs.artifact-digest }}
478487
479488 check_error_codes :
480489 name : Search build artifacts for unminified errors
You can’t perform that action at this time.
0 commit comments