test github...
This commit is contained in:
parent
e7820f91fb
commit
695f5b3a73
1 changed files with 3 additions and 5 deletions
|
@ -66,11 +66,9 @@ jobs:
|
|||
|
||||
cd "$TEST_ARTIFACT_DIR"
|
||||
# In case the repository becomes private, we add our GITHUB_TOKEN to the artifact-url.
|
||||
test -z "$GITHUB_TOKEN" && GITHUB_TOKEN="${{ github.token }}"
|
||||
MY_AUTHENTICATED_URL="$( echo "${{ steps.uploading.outputs.artifact-url }}" | sed "s#^\(https\?://\)#\1$GITHUB_TOKEN\@#" )"
|
||||
# I got a 404. Let's try by giving Github a bit of time
|
||||
sleep 15
|
||||
wget -O "$DOWNLOAD_FILE" "$MY_AUTHENTICATED_URL"
|
||||
#test -z "$GITHUB_TOKEN" && GITHUB_TOKEN="${{ github.token }}"
|
||||
#MY_AUTHENTICATED_URL="$( echo "${{ steps.uploading.outputs.artifact-url }}" | sed "s#^\(https\?://\)#\1$GITHUB_TOKEN\@#" )"
|
||||
wget --header "Authorization: Bearer $GITHUB_TOKEN" -O "$DOWNLOAD_FILE" "${{ steps.uploading.outputs.artifact-url }}"
|
||||
unzip "$DOWNLOAD_FILE"
|
||||
sha256sum -c "$SHASUM_FILE"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue