Use v2 branch to get the Linux CodeQL bundle too (#5840)

https://github.com/actions/virtual-environments/pull/5307 did this for Windows; let's do Linux too.
This commit is contained in:
Henry Mercer
2022-06-30 10:49:27 +01:00
committed by GitHub
parent 7ff67b1a39
commit b3b4deba3b

View File

@@ -7,7 +7,7 @@
source $HELPER_SCRIPTS/install.sh
# Retrieve the name of the CodeQL bundle preferred by the Action (in the format codeql-bundle-YYYYMMDD).
codeql_bundle_name="$(curl -sSL https://raw.githubusercontent.com/github/codeql-action/v1/src/defaults.json | jq -r .bundleVersion)"
codeql_bundle_name="$(curl -sSL https://raw.githubusercontent.com/github/codeql-action/v2/src/defaults.json | jq -r .bundleVersion)"
# Convert the bundle name to a version number (0.0.0-YYYYMMDD).
codeql_bundle_version="0.0.0-${codeql_bundle_name##*-}"