We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a9a185 commit b06da59Copy full SHA for b06da59
images/macos/provision/core/codeql-bundle.sh
@@ -2,8 +2,8 @@
2
source ~/utils/utils.sh
3
4
# Retrieve the CLI version of the latest CodeQL bundle.
5
-base_url="$(curl -fsSL https://raw.githubusercontent.com/github/codeql-action/v2/src/defaults.json)"
6
-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)"
7
bundle_tag_name="codeql-bundle-v$bundle_version"
8
9
echo "Downloading CodeQL bundle $bundle_version..."
0 commit comments