From dfe7bb179cdcc0d48a28e1e31c78c152c522c798 Mon Sep 17 00:00:00 2001 From: Henry Webel Date: Wed, 18 Jun 2025 13:34:48 +0200 Subject: [PATCH 1/3] :art: add manuel workflow trigger --- .github/workflows/cdci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cdci.yml b/.github/workflows/cdci.yml index f86bb11..fe28e59 100644 --- a/.github/workflows/cdci.yml +++ b/.github/workflows/cdci.yml @@ -7,6 +7,7 @@ on: branches: [main] release: types: [published] + workflow_dispatch: jobs: test: From 26eb60c72545e0ba9f0d1772b38acf932c3fc7e7 Mon Sep 17 00:00:00 2001 From: Henry Webel Date: Wed, 18 Jun 2025 13:35:14 +0200 Subject: [PATCH 2/3] :zap: only build GUI on push to main, releases and manuel triggers --- .github/workflows/cdci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cdci.yml b/.github/workflows/cdci.yml index fe28e59..96c46fb 100644 --- a/.github/workflows/cdci.yml +++ b/.github/workflows/cdci.yml @@ -131,6 +131,11 @@ jobs: build-executable: name: Build-exe-${{ matrix.os.label }} runs-on: ${{ matrix.os.runner }} + if: | + github.event_name == 'push' && github.ref == 'refs/heads/main' || + github.event_name == 'release' || + startsWith(github.ref, 'refs/tags') || + github.event_name == 'workflow_dispatch' needs: - test - other-reports From 59d7e53668f9a42a000aa85c2ef13999be9794d4 Mon Sep 17 00:00:00 2001 From: Henry Webel Date: Thu, 19 Jun 2025 11:01:02 +0200 Subject: [PATCH 3/3] :art: add parantheses to ensure correct evaluation --- .github/workflows/cdci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cdci.yml b/.github/workflows/cdci.yml index 96c46fb..22a06df 100644 --- a/.github/workflows/cdci.yml +++ b/.github/workflows/cdci.yml @@ -132,7 +132,7 @@ jobs: name: Build-exe-${{ matrix.os.label }} runs-on: ${{ matrix.os.runner }} if: | - github.event_name == 'push' && github.ref == 'refs/heads/main' || + (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'release' || startsWith(github.ref, 'refs/tags') || github.event_name == 'workflow_dispatch'