Skip to content

Commit

Permalink
Use work-around for bug in slsa-github-generator workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmlarson committed Dec 9, 2022
1 parent de19ecf commit 43b5620
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
cd dist && echo "::set-output name=hashes::$(sha256sum * | base64 -w0)"
- name: "Upload dists"
uses: "actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8"
uses: "actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb"
with:
name: "dist"
path: "dist/"
Expand All @@ -56,7 +56,7 @@ jobs:

provenance:
needs: ["build"]
uses: "slsa-framework/slsa-github-generator/.github/workflows/[email protected].0"
uses: "slsa-framework/slsa-github-generator/.github/workflows/[email protected].1"
permissions:
actions: read
id-token: write
Expand All @@ -66,6 +66,8 @@ jobs:
with:
base64-subjects: "${{ needs.build.outputs.hashes }}"
upload-assets: true
# Workaround for slsa-framework/slsa-github-generator#1163
compile-generator: true

publish:
name: "Publish"
Expand Down

0 comments on commit 43b5620

Please sign in to comment.