mirror of
https://github.com/actions/runner-images.git
synced 2025-12-30 22:07:58 +08:00
[macos] add reties to CodeQL download step (#8582)
Co-authored-by: Henry Mercer <henry.mercer@me.com>
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
source ~/utils/utils.sh
|
||||
|
||||
# Retrieve the CLI version of the latest CodeQL bundle.
|
||||
base_url="$(curl -fsSL https://raw.githubusercontent.com/github/codeql-action/v2/src/defaults.json)"
|
||||
bundle_version="$(echo "$base_url" | jq -r '.cliVersion')"
|
||||
download_with_retries https://raw.githubusercontent.com/github/codeql-action/v2/src/defaults.json "/tmp" "codeql-defaults.json"
|
||||
bundle_version="$(jq -r '.cliVersion' /tmp/codeql-defaults.json)"
|
||||
bundle_tag_name="codeql-bundle-v$bundle_version"
|
||||
|
||||
echo "Downloading CodeQL bundle $bundle_version..."
|
||||
|
||||
Reference in New Issue
Block a user