test github...
This commit is contained in:
parent
2ac8721340
commit
1a6b4e2c28
1 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,8 @@ jobs:
|
||||||
# In case the repository becomes private, we add our GITHUB_TOKEN to the artifact-url.
|
# In case the repository becomes private, we add our GITHUB_TOKEN to the artifact-url.
|
||||||
test -z "$GITHUB_TOKEN" && GITHUB_TOKEN="${{ github.token }}"
|
test -z "$GITHUB_TOKEN" && GITHUB_TOKEN="${{ github.token }}"
|
||||||
#MY_AUTHENTICATED_URL="$( echo "${{ steps.uploading.outputs.artifact-url }}" | sed "s#^\(https\?://\)#\1$GITHUB_TOKEN\@#" )"
|
#MY_AUTHENTICATED_URL="$( echo "${{ steps.uploading.outputs.artifact-url }}" | sed "s#^\(https\?://\)#\1$GITHUB_TOKEN\@#" )"
|
||||||
|
# Got a 404, let's try a cooldown
|
||||||
|
sleep 10
|
||||||
wget --header "Authorization: Bearer $GITHUB_TOKEN" -O "$DOWNLOAD_FILE" "${{ steps.uploading.outputs.artifact-url }}"
|
wget --header "Authorization: Bearer $GITHUB_TOKEN" -O "$DOWNLOAD_FILE" "${{ steps.uploading.outputs.artifact-url }}"
|
||||||
unzip "$DOWNLOAD_FILE"
|
unzip "$DOWNLOAD_FILE"
|
||||||
sha256sum -c "$SHASUM_FILE"
|
sha256sum -c "$SHASUM_FILE"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue