mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-03-12 21:22:55 -07:00
Run debug builds only for PR's
This commit is contained in:
3
.github/workflows/desktop-build.yml
vendored
3
.github/workflows/desktop-build.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user