Skip to content

Commit 43b5620

Browse files
committed
Use work-around for bug in slsa-github-generator workflow
1 parent de19ecf commit 43b5620

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
cd dist && echo "::set-output name=hashes::$(sha256sum * | base64 -w0)"
4848
4949
- name: "Upload dists"
50-
uses: "actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8"
50+
uses: "actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb"
5151
with:
5252
name: "dist"
5353
path: "dist/"
@@ -56,7 +56,7 @@ jobs:
5656

5757
provenance:
5858
needs: ["build"]
59-
uses: "slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.2.0"
59+
uses: "slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.2.1"
6060
permissions:
6161
actions: read
6262
id-token: write
@@ -66,6 +66,8 @@ jobs:
6666
with:
6767
base64-subjects: "${{ needs.build.outputs.hashes }}"
6868
upload-assets: true
69+
# Workaround for slsa-framework/slsa-github-generator#1163
70+
compile-generator: true
6971

7072
publish:
7173
name: "Publish"

0 commit comments

Comments
 (0)