diff --git a/.github/workflows/generate-release-zipfile.yml b/.github/workflows/generate-release-zipfile.yml index 9f3a5f5..9f1e43e 100644 --- a/.github/workflows/generate-release-zipfile.yml +++ b/.github/workflows/generate-release-zipfile.yml @@ -71,7 +71,7 @@ jobs: test -z "$GITHUB_TOKEN" && GITHUB_TOKEN="${{ github.token }}" # TODO : can't get it to work :-/ #wget --header "Authorization: Bearer $GITHUB_TOKEN" -O "$DOWNLOAD_FILE" "${{ steps.uploading.outputs.artifact-url }}" - wget -O "$DOWNLOAD_FILE" "https://$GITHUB_TOKEN@api.github.com/repos/$GITHUB_REPOSITORY/actions/artifacts/${{ steps.uploading.outputs.artifact-id }}/zip" + wget -O "$DOWNLOAD_FILE" --header "Authorization: token $GITHUB_TOKEN" "https://api.github.com/repos/$GITHUB_REPOSITORY/actions/artifacts/${{ steps.uploading.outputs.artifact-id }}/zip" unzip "$DOWNLOAD_FILE" sha256sum -c "$SHASUM_FILE"