mirror of
https://github.com/actions/runner-images.git
synced 2026-01-01 23:23:56 +08:00
download to /tmp for azcopy and aws
This commit is contained in:
@@ -4,8 +4,8 @@ source ~/utils/utils.sh
|
||||
|
||||
AZCOPY_DOWNLOAD_URL="https://aka.ms/downloadazcopy-v10-mac"
|
||||
|
||||
download_with_retries $AZCOPY_DOWNLOAD_URL "." "azcopy.zip"
|
||||
unzip azcopy.zip -d azcopy
|
||||
download_with_retries $AZCOPY_DOWNLOAD_URL "/tmp" "azcopy.zip"
|
||||
unzip /tmp/azcopy.zip -d azcopy
|
||||
AZCOPY_EXTRACTED=$(echo azcopy/azcopy*)
|
||||
cp "$AZCOPY_EXTRACTED/azcopy" "/usr/local/bin/azcopy"
|
||||
chmod +x "/usr/local/bin/azcopy"
|
||||
|
||||
Reference in New Issue
Block a user