test github...

This commit is contained in:
Chl 2024-08-30 18:49:01 +02:00
parent 695f5b3a73
commit ea0df15187

View file

@ -66,7 +66,7 @@ jobs:
cd "$TEST_ARTIFACT_DIR" cd "$TEST_ARTIFACT_DIR"
# 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\@#" )"
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"