From 5a58f26af81e443d968b1ce4b7bd89a5a7032d7b Mon Sep 17 00:00:00 2001 From: Vicente Eduardo Ferrer Garcia Date: Fri, 23 Aug 2024 00:03:39 +0200 Subject: [PATCH] Trying to solve distributable dispatch. --- .github/workflows/distributable-dispatch.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/distributable-dispatch.yml b/.github/workflows/distributable-dispatch.yml index f75ba76b2..af69f785f 100644 --- a/.github/workflows/distributable-dispatch.yml +++ b/.github/workflows/distributable-dispatch.yml @@ -15,6 +15,7 @@ jobs: windows-distributable: name: Windows Distributable Dispatch runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' steps: - name: Windows Workflow Dispatch uses: convictional/trigger-workflow-and-wait@v1.6.1 @@ -30,6 +31,7 @@ jobs: macos-distributable: name: MacOS Distributable Dispatch runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' steps: - name: Homebrew Workflow Dispatch uses: convictional/trigger-workflow-and-wait@v1.6.1 @@ -55,6 +57,7 @@ jobs: linux-distributable: name: Linux Distributable Dispatch runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' steps: - name: Linux Workflow Dispatch uses: convictional/trigger-workflow-and-wait@v1.6.1