File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ name: Build all
33permissions :
44 contents : read
55 actions : write
6+ id-token : write
7+ attestations : write
68
79on :
810 workflow_dispatch :
@@ -783,3 +785,7 @@ jobs:
783785 name : PDFium ${{ github.event.inputs.version }}
784786 tag : ${{ github.event.inputs.branch }}
785787 artifacts : pdfium-*.tgz
788+ - name : Attest build provenance
789+ uses : actions/attest-build-provenance@v3
790+ with :
791+ subject-path : pdfium-*.tgz
Original file line number Diff line number Diff line change 4949permissions :
5050 contents : read
5151 actions : write
52+ id-token : write
53+ attestations : write
5254
5355jobs :
5456 build :
@@ -116,10 +118,16 @@ jobs:
116118 run : steps/08-licenses.sh
117119 shell : bash
118120 - name : Upload artifact
121+ id : upload
119122 uses : actions/upload-artifact@v4
120123 with :
121124 name : ${{ steps.init.outputs.artifact }}
122125 path : staging/
126+ - name : Attest build provenance
127+ uses : actions/attest-build-provenance@v3
128+ with :
129+ subject-name : ${{ steps.init.outputs.artifact }}.zip
130+ subject-digest : sha256:${{ steps.upload.outputs.artifact-digest }}
123131 - name : Test
124132 run : steps/09-test.sh
125133 shell : bash
You can’t perform that action at this time.
0 commit comments