mirror of
https://github.com/github/codeql-action.git
synced 2025-12-19 22:00:50 +08:00
Revert "Download zstd nightly bundles in PR checks"
This reverts commit e621ea8332.
This commit is contained in:
14
.github/actions/prepare-test/action.yml
vendored
14
.github/actions/prepare-test/action.yml
vendored
@@ -32,20 +32,14 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
set -e # Fail this Action if `gh release list` fails.
|
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
|
if [[ ${{ inputs.use-all-platform-bundle }} == "true" ]]; then
|
||||||
artifact_name="codeql-bundle.$extension"
|
artifact_name="codeql-bundle.tar.gz"
|
||||||
elif [[ "$RUNNER_OS" == "Linux" ]]; then
|
elif [[ "$RUNNER_OS" == "Linux" ]]; then
|
||||||
artifact_name="codeql-bundle-linux64.$extension"
|
artifact_name="codeql-bundle-linux64.tar.gz"
|
||||||
elif [[ "$RUNNER_OS" == "macOS" ]]; then
|
elif [[ "$RUNNER_OS" == "macOS" ]]; then
|
||||||
artifact_name="codeql-bundle-osx64.$extension"
|
artifact_name="codeql-bundle-osx64.tar.gz"
|
||||||
elif [[ "$RUNNER_OS" == "Windows" ]]; then
|
elif [[ "$RUNNER_OS" == "Windows" ]]; then
|
||||||
artifact_name="codeql-bundle-win64.$extension"
|
artifact_name="codeql-bundle-win64.tar.gz"
|
||||||
else
|
else
|
||||||
echo "::error::Unrecognized OS $RUNNER_OS"
|
echo "::error::Unrecognized OS $RUNNER_OS"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
2
.github/workflows/__test-local-codeql.yml
generated
vendored
2
.github/workflows/__test-local-codeql.yml
generated
vendored
@@ -66,7 +66,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
# Swift is not supported on Ubuntu so we manually exclude it from the list here
|
# Swift is not supported on Ubuntu so we manually exclude it from the list here
|
||||||
languages: cpp,csharp,go,java,javascript,python,ruby
|
languages: cpp,csharp,go,java,javascript,python,ruby
|
||||||
tools: ./codeql-bundle-linux64.tar.zst
|
tools: ./codeql-bundle-linux64.tar.gz
|
||||||
- name: Build code
|
- name: Build code
|
||||||
shell: bash
|
shell: bash
|
||||||
run: ./build.sh
|
run: ./build.sh
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ steps:
|
|||||||
with:
|
with:
|
||||||
# Swift is not supported on Ubuntu so we manually exclude it from the list here
|
# Swift is not supported on Ubuntu so we manually exclude it from the list here
|
||||||
languages: cpp,csharp,go,java,javascript,python,ruby
|
languages: cpp,csharp,go,java,javascript,python,ruby
|
||||||
tools: ./codeql-bundle-linux64.tar.zst
|
tools: ./codeql-bundle-linux64.tar.gz
|
||||||
- name: Build code
|
- name: Build code
|
||||||
shell: bash
|
shell: bash
|
||||||
run: ./build.sh
|
run: ./build.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user