From 2786eff3da831ff8919e919267161bcfffe262a1 Mon Sep 17 00:00:00 2001 From: Donkie Date: Thu, 25 Jan 2024 20:21:42 +0100 Subject: [PATCH] Fixed release publishing happening outside tag push --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 894e942..da02ff5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -359,7 +359,7 @@ jobs: # Create Github Release if CI was triggered by a tag # publish-release: - if: ${{ github.event_name != 'pull_request' }} && startsWith(github.event.ref, 'refs/tags/v') + if: ${{ (github.event_name != 'pull_request') && startsWith(github.event.ref, 'refs/tags/v') }} needs: [publish-images] runs-on: ubuntu-latest steps: