From 968b51aca556a232a4ee181049fa56e78a7a102c Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Mon, 14 Oct 2024 09:14:45 +0200 Subject: [PATCH] fix(ci): fixed shasum computation for bump-libs CI. Signed-off-by: Federico Di Pierro --- .github/workflows/bump-libs.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bump-libs.yaml b/.github/workflows/bump-libs.yaml index f24a332f640..e4cfecaa540 100644 --- a/.github/workflows/bump-libs.yaml +++ b/.github/workflows/bump-libs.yaml @@ -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