From e7a6a9a375ca22e89f677db1114f06b3c0003da4 Mon Sep 17 00:00:00 2001 From: Edoardo Pirovano <6748066+edoardopirovano@users.noreply.github.com> Date: Wed, 30 Mar 2022 13:29:42 +0100 Subject: [PATCH] Use `v2` branch to get CodeQL bundle (#5307) --- images/win/scripts/Installers/Install-CodeQLBundle.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/win/scripts/Installers/Install-CodeQLBundle.ps1 b/images/win/scripts/Installers/Install-CodeQLBundle.ps1 index a70a12ac..b53f7d01 100644 --- a/images/win/scripts/Installers/Install-CodeQLBundle.ps1 +++ b/images/win/scripts/Installers/Install-CodeQLBundle.ps1 @@ -4,7 +4,7 @@ ################################################################################ # Retrieve the name of the CodeQL bundle preferred by the Action (in the format codeql-bundle-YYYYMMDD). -$CodeQLBundleName = (Invoke-RestMethod "https://raw.githubusercontent.com/github/codeql-action/v1/src/defaults.json").bundleVersion +$CodeQLBundleName = (Invoke-RestMethod "https://raw.githubusercontent.com/github/codeql-action/v2/src/defaults.json").bundleVersion # Convert the bundle name to a version number (0.0.0-YYYYMMDD). $CodeQLBundleVersion = "0.0.0-" + $CodeQLBundleName.split("-")[-1]