Skip to content

Commit

Permalink
Work around a generator bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanAlbert committed Nov 18, 2022
1 parent 4466f61 commit b0afd7e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ jobs:
- name: Generate subject
id: hash
run: |
echo "hashes=$(sha256sum ./app/build/libs/* | base64 -w0)" >> "$GITHUB_OUTPUT"
# cd is needed to workaround
# https://github.com/slsa-framework/slsa-github-generator/issues/1225
# Fix is merged but hasn't shipped yet.
cd app/build/libs
echo "hashes=$(sha256sum * | base64 -w0)" >> "$GITHUB_OUTPUT"
- name: Upload build artifacts
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # tag=v3
Expand Down

0 comments on commit b0afd7e

Please sign in to comment.