From 31f3a89eb5bb3ed278bc680bac2ec121ccde09dc Mon Sep 17 00:00:00 2001 From: tooomm Date: Sat, 7 Mar 2026 14:04:59 +0100 Subject: [PATCH] Run debug builds only for PR's --- .github/workflows/desktop-build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index e95898097..ef2c789f9 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -178,7 +178,7 @@ jobs: run: source .ci/docker.sh --build - name: Build debug and test - if: matrix.test != 'skip' + if: matrix.test != 'skip' && github.event_name == 'pull_request' shell: bash env: CMAKE_GENERATOR: '${{env.CMAKE_GENERATOR}}' @@ -423,6 +423,7 @@ jobs: # uses environment variables, see compile.sh for more details - name: Build Cockatrice + if: matrix.type == 'Release' || (matrix.type == 'Debug' && github.event_name == 'pull_request') id: build shell: bash env: