From 5a09024ce5de02958ed914fc43608bcfc3aac7c3 Mon Sep 17 00:00:00 2001 From: Florian Meyer Date: Sat, 8 Jun 2024 19:05:15 +0200 Subject: [PATCH] Exclude filename from sha1-sum --- .github/workflows/static.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 8f398b7..1f20255 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -37,7 +37,7 @@ jobs: mkdir build mv oresia.zip build/oresia.zip - name: Create SHA-1 hash - run: echo "sha1=$(sha1sum build/oresia.zip)" >> "$GITHUB_ENV" + run: echo "sha1=$(sha1sum build/oresia.zip | awk '{print $1}')" >> "$GITHUB_ENV" - name: Setup Pages uses: actions/configure-pages@v5 - name: Upload artifact