test github...
This commit is contained in:
parent
6591ad5996
commit
34b32b9e7d
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,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 }}"
|
||||||
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 -O "$DOWNLOAD_FILE" "$MY_AUTHENTICATED_URL"
|
wget -O "$DOWNLOAD_FILE" "$MY_AUTHENTICATED_URL"
|
||||||
unzip "$DOWNLOAD_FILE"
|
unzip "$DOWNLOAD_FILE"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue