Skip to content

Commit

Permalink
fix: slsa3
Browse files Browse the repository at this point in the history
  • Loading branch information
hazcod authored Sep 9, 2022
1 parent 0356280 commit d392136
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,11 @@ jobs:
id: hash
if: steps.semrel.outputs.version != ''
run: |
echo "Hashes $(find dist/ -type f -exec sha256sum {} \; | base64 -w0)"
echo "::set-output name=hashes::$(find dist/ -type f -exec sha256sum {} \; | base64 -w0)"
echo "::set-output name=hashes::$(find dist -type f -exec shasum -a256 {} \; | base64 -w0)"
provenance:
needs: [goreleaser]
if: needs.goreleaser.outputs.hashes != ''
if: jobs.goreleaser.outputs.hashes != ''
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.2.0
with:
base64-subjects: "${{ needs.goreleaser.outputs.hashes }}"

0 comments on commit d392136

Please sign in to comment.