Skip to content

Commit 1f63aba

Browse files
authored
PR Checks: Test codeql-bundle.tar.gz (#1822)
1 parent a98b9bd commit 1f63aba

37 files changed

+187
-2
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ inputs:
44
version:
55
description: "The version of the CodeQL CLI to use. Can be 'latest', 'default', 'nightly-latest', 'nightly-YYYY-MM-DD', or 'stable-YYYY-MM-DD'."
66
required: true
7+
use-all-platform-bundle:
8+
description: "If true, we output a tools URL with codeql-bundle.tar.gz file rather than platform-specific URL"
9+
default: 'false'
10+
required: false
711
outputs:
812
tools-url:
913
description: "The value that should be passed as the 'tools' input of the 'init' step."
@@ -24,7 +28,9 @@ runs:
2428
run: |
2529
set -e # Fail this Action if `gh release list` fails.
2630
27-
if [[ "$RUNNER_OS" == "Linux" ]]; then
31+
if [[ ${{ inputs.use-all-platform-bundle }} == "true" ]]; then
32+
artifact_name="codeql-bundle.tar.gz"
33+
elif [[ "$RUNNER_OS" == "Linux" ]]; then
2834
artifact_name="codeql-bundle-linux64.tar.gz"
2935
elif [[ "$RUNNER_OS" == "macOS" ]]; then
3036
artifact_name="codeql-bundle-osx64.tar.gz"

.github/workflows/__all-platform-bundle.yml

Lines changed: 67 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__analyze-ref-input.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__autobuild-action.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__config-export.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__diagnostics-export.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__export-file-baseline-information.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__extractor-ram-threads.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__go-custom-queries.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__go-tracing-autobuilder.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)