Skip to content

Commit

Permalink
fix(ci): fixed shasum computation for bump-libs CI.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
  • Loading branch information
FedeDP committed Oct 14, 2024
1 parent e04deea commit 968b51a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/bump-libs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ jobs:
- name: Store libs hash and shasum
id: store
run: |
echo "SHASUM=$(sha256sum master.tar.gz | awk '{print $1}')" >> "$GITHUB_OUTPUT"
gunzip -c master.tar.gz > master.tar
echo "COMMIT=$(cat master.tar | git get-tar-commit-id)" >> "$GITHUB_OUTPUT"
commit=$(cat master.tar | git get-tar-commit-id)
echo "COMMIT=$commit" >> "$GITHUB_OUTPUT"
wget https://github.com/falcosecurity/libs/archive/$commit.tar.gz
echo "SHASUM=$(sha256sum $commit.tar.gz | awk '{print $1}')" >> "$GITHUB_OUTPUT"
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand Down

0 comments on commit 968b51a

Please sign in to comment.