mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 21:28:12 +00:00
15 lines
475 B
Bash
15 lines
475 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: yq.sh
|
|
## Desc: Installs YQ
|
|
################################################################################
|
|
|
|
# Source the helpers for use with the script
|
|
source $HELPER_SCRIPTS/install.sh
|
|
|
|
YQ_URL="https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64"
|
|
download_with_retries "$YQ_URL" "/usr/bin" "yq"
|
|
chmod +x /usr/bin/yq
|
|
|
|
invoke_tests "Tools" "yq"
|