Skip to content

Commit 26eb60c

Browse files
committed
⚡ only build GUI on push to main, releases and manuel triggers
1 parent dfe7bb1 commit 26eb60c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/cdci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ jobs:
131131
build-executable:
132132
name: Build-exe-${{ matrix.os.label }}
133133
runs-on: ${{ matrix.os.runner }}
134+
if: |
135+
github.event_name == 'push' && github.ref == 'refs/heads/main' ||
136+
github.event_name == 'release' ||
137+
startsWith(github.ref, 'refs/tags') ||
138+
github.event_name == 'workflow_dispatch'
134139
needs:
135140
- test
136141
- other-reports

0 commit comments

Comments
 (0)