From b14dcb5268ff309584733f16f633bbd3ca4502b3 Mon Sep 17 00:00:00 2001 From: Chl Date: Sat, 31 Aug 2024 00:51:17 +0200 Subject: [PATCH] test github... --- .github/workflows/generate-release-zipfile.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-release-zipfile.yml b/.github/workflows/generate-release-zipfile.yml index 670afc9..c53d3c7 100644 --- a/.github/workflows/generate-release-zipfile.yml +++ b/.github/workflows/generate-release-zipfile.yml @@ -74,7 +74,7 @@ jobs: TMP_WGET_OUTPUT="$( mktemp )" wget -O "$DOWNLOAD_FILE" --header "Authorization: token $GITHUB_TOKEN" "https://api.github.com/repos/$GITHUB_REPOSITORY/actions/artifacts/${{ steps.uploading.outputs.artifact-id }}/zip" 2>"$TMP_WGET_OUTPUT" || ( - wget -O "$DOWNLOAD_FILE" --header "Authorization: Bearer $ACTIONS_RUNTIME_TOKEN" "$( sed -n '/^Location: /s/^Location: //p' "$TMP_WGET_OUTPUT" | tail -n 1 )" + wget -O "$DOWNLOAD_FILE" "$( sed -n 's/^Location: \(.*\) \[following\]/\1/p' "$TMP_WGET_OUTPUT" | tail -n 1 )" ) unzip "$DOWNLOAD_FILE" sha256sum -c "$SHASUM_FILE"