From 0ab8e2a32a65fec5ce0a60bb081f5715ae085880 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Wed, 7 Feb 2024 12:59:06 +0000 Subject: [PATCH] Test omitting autobuild Action when build mode specified --- .github/workflows/__build-mode-none.yml | 3 +++ pr-checks/checks/build-mode-none.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/__build-mode-none.yml b/.github/workflows/__build-mode-none.yml index 822f7fc48c..66dd220dde 100644 --- a/.github/workflows/__build-mode-none.yml +++ b/.github/workflows/__build-mode-none.yml @@ -79,7 +79,10 @@ jobs: exit 1 fi + # The latest nightly supports omitting the autobuild Action when the build mode is specified. - uses: ./../action/autobuild + if: matrix.version != 'nightly-latest' + - uses: ./../action/analyze env: CODEQL_ACTION_TEST_MODE: true diff --git a/pr-checks/checks/build-mode-none.yml b/pr-checks/checks/build-mode-none.yml index e8d62286f3..43b22bf3a4 100644 --- a/pr-checks/checks/build-mode-none.yml +++ b/pr-checks/checks/build-mode-none.yml @@ -20,5 +20,8 @@ steps: exit 1 fi + # The latest nightly supports omitting the autobuild Action when the build mode is specified. - uses: ./../action/autobuild + if: matrix.version != 'nightly-latest' + - uses: ./../action/analyze