diff --git a/.github/actions/prepare-test/action.yml b/.github/actions/prepare-test/action.yml index 99e2bdf47..ba60471ed 100644 --- a/.github/actions/prepare-test/action.yml +++ b/.github/actions/prepare-test/action.yml @@ -32,20 +32,14 @@ runs: run: | set -e # Fail this Action if `gh release list` fails. - if [[ ${{ inputs.version }} == "nightly-latest" ]]; then - extension="tar.zst" - else - extension="tar.gz" - fi - if [[ ${{ inputs.use-all-platform-bundle }} == "true" ]]; then - artifact_name="codeql-bundle.$extension" + artifact_name="codeql-bundle.tar.gz" elif [[ "$RUNNER_OS" == "Linux" ]]; then - artifact_name="codeql-bundle-linux64.$extension" + artifact_name="codeql-bundle-linux64.tar.gz" elif [[ "$RUNNER_OS" == "macOS" ]]; then - artifact_name="codeql-bundle-osx64.$extension" + artifact_name="codeql-bundle-osx64.tar.gz" elif [[ "$RUNNER_OS" == "Windows" ]]; then - artifact_name="codeql-bundle-win64.$extension" + artifact_name="codeql-bundle-win64.tar.gz" else echo "::error::Unrecognized OS $RUNNER_OS" exit 1 diff --git a/.github/workflows/__test-local-codeql.yml b/.github/workflows/__test-local-codeql.yml index 8f108c507..51fc257c4 100644 --- a/.github/workflows/__test-local-codeql.yml +++ b/.github/workflows/__test-local-codeql.yml @@ -66,7 +66,7 @@ jobs: with: # Swift is not supported on Ubuntu so we manually exclude it from the list here languages: cpp,csharp,go,java,javascript,python,ruby - tools: ./codeql-bundle-linux64.tar.zst + tools: ./codeql-bundle-linux64.tar.gz - name: Build code shell: bash run: ./build.sh diff --git a/pr-checks/checks/test-local-codeql.yml b/pr-checks/checks/test-local-codeql.yml index 8b1f22009..08b3d4834 100644 --- a/pr-checks/checks/test-local-codeql.yml +++ b/pr-checks/checks/test-local-codeql.yml @@ -14,7 +14,7 @@ steps: with: # Swift is not supported on Ubuntu so we manually exclude it from the list here languages: cpp,csharp,go,java,javascript,python,ruby - tools: ./codeql-bundle-linux64.tar.zst + tools: ./codeql-bundle-linux64.tar.gz - name: Build code shell: bash run: ./build.sh