Skip to content

Commit f19f5fa

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent d026e8d commit f19f5fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ steps:
3232
script: |
3333
# Tried with secure variable without success (bug?) so I am using secureFiles
3434
35-
echo $WSLENV
36-
CIRCLE_TOKEN="$(cat "${CIRCLE_TOKEN_FILE:-circle-token.txt}")"
35+
echo $(dirname "$0")/circle-token.txt
36+
CIRCLE_TOKEN="$(cat "${CIRCLE_TOKEN_FILE:-$(dirname "$0")/circle-token.txt}")"
3737
url=$(curl -H "Circle-Token: ${CIRCLE_TOKEN}" https://circleci.com/api/v1.1/project/github/WhitewaterFoundry/pengwin-rootfs-builds/latest/artifacts | grep -o 'https://[^"]*')
3838
mkdir -p ARM64
3939
curl -L -H "Circle-Token: ${CIRCLE_TOKEN}" "${url}" --output ARM64/install.tar.gz

0 commit comments

Comments
 (0)