mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 03:27:05 +00:00
[Ubuntu] fix overwrite packer files on unpack (#9744)
This commit is contained in:
@@ -10,6 +10,6 @@ source $HELPER_SCRIPTS/install.sh
|
||||
# Install Packer
|
||||
download_url=$(curl -fsSL https://api.releases.hashicorp.com/v1/releases/packer/latest | jq -r '.builds[] | select((.arch=="amd64") and (.os=="linux")).url')
|
||||
archive_path=$(download_with_retry "$download_url")
|
||||
unzip -qq "$archive_path" -d /usr/local/bin
|
||||
unzip -o -qq "$archive_path" -d /usr/local/bin
|
||||
|
||||
invoke_tests "Tools" "Packer"
|
||||
|
||||
Reference in New Issue
Block a user