Skip to content

Commit 821ab42

Browse files
authored
Merge pull request github#2442 from github/henrymercer/zstd-bundles
Add support for using zstd-compressed nightly bundles
2 parents b43ac1c + 27dbb1a commit 821ab42

18 files changed

+319
-38
lines changed

.github/actions/prepare-test/action.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,20 @@ runs:
3232
run: |
3333
set -e # Fail this Action if `gh release list` fails.
3434
35+
if [[ ${{ inputs.version }} == "nightly-latest" ]]; then
36+
extension="tar.zst"
37+
else
38+
extension="tar.gz"
39+
fi
40+
3541
if [[ ${{ inputs.use-all-platform-bundle }} == "true" ]]; then
36-
artifact_name="codeql-bundle.tar.gz"
42+
artifact_name="codeql-bundle.$extension"
3743
elif [[ "$RUNNER_OS" == "Linux" ]]; then
38-
artifact_name="codeql-bundle-linux64.tar.gz"
44+
artifact_name="codeql-bundle-linux64.$extension"
3945
elif [[ "$RUNNER_OS" == "macOS" ]]; then
40-
artifact_name="codeql-bundle-osx64.tar.gz"
46+
artifact_name="codeql-bundle-osx64.$extension"
4147
elif [[ "$RUNNER_OS" == "Windows" ]]; then
42-
artifact_name="codeql-bundle-win64.tar.gz"
48+
artifact_name="codeql-bundle-win64.$extension"
4349
else
4450
echo "::error::Unrecognized OS $RUNNER_OS"
4551
exit 1

.github/workflows/__test-local-codeql.yml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/codeql.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/codeql.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action.js

+17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/setup-codeql.js

+9-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)