File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -177,6 +177,23 @@ jobs:
177177 run : |
178178 zip -r github-act-runner-full-src.zip . -x ".git/*" github-act-runner-full-src.zip github-act-runner-full-src.tar.gz
179179 tar --exclude=.git --exclude=github-act-runner-full-src.zip --exclude=github-act-runner-full-src.tar.gz -czf github-act-runner-full-src.tar.gz .
180+ - name : Create Signed Provenance
181+ uses : actions/attest-build-provenance@v1
182+ id : attest
183+ if : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.skip-packaging != 'true' }}
184+ with :
185+ subject-path : " github-act-runner-full-src.*"
186+ - name : Copy Signed Provenance to well known filepath
187+ if : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.skip-packaging != 'true' }}
188+ run : |
189+ cp "$BUNDLE_PATH" github-act-runner-full-src.sigstore.json
190+ env :
191+ BUNDLE_PATH : ${{ steps.attest.outputs.bundle-path }}
192+ - name : Create Package Checksums
193+ if : ${{ github.event.inputs.skip-packaging != 'true' }}
194+ run : |
195+ sha512sum github-act-runner-full-src.zip > github-act-runner-full-src.zip.sha512
196+ sha512sum github-act-runner-full-src.tar.gz > github-act-runner-full-src.tar.gz.sha512
180197 - uses : actions/upload-artifact@v4
181198 with :
182199 name : vendor
You can’t perform that action at this time.
0 commit comments