mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[mac OS] Set flags for curl invocations (#8008)
This commit is contained in:
committed by
GitHub
parent
67f9c37eee
commit
463cbf01cf
@@ -22,7 +22,7 @@ fi
|
||||
if ! is_VenturaArm64; then
|
||||
echo "Install Ruby from toolset..."
|
||||
[ -n "$API_PAT" ] && authString=(-H "Authorization: token ${API_PAT}")
|
||||
PACKAGE_TAR_NAMES=$(curl "${authString[@]}" -s "https://api.github.com/repos/ruby/ruby-builder/releases/latest" | jq -r '.assets[].name')
|
||||
PACKAGE_TAR_NAMES=$(curl "${authString[@]}" -fsSL "https://api.github.com/repos/ruby/ruby-builder/releases/latest" | jq -r '.assets[].name')
|
||||
TOOLSET_VERSIONS=$(get_toolset_value '.toolcache[] | select(.name | contains("Ruby")) | .arch.'$arch'.versions[]')
|
||||
RUBY_PATH="$AGENT_TOOLSDIRECTORY/Ruby"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user