diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index 62108b34a..0957eb7a7 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -173,7 +173,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 run: | source .ci/docker.sh @@ -433,6 +433,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: