From 6a6569c287191e72e947c0cb6e04570421d74d87 Mon Sep 17 00:00:00 2001 From: nullprop Date: Sat, 5 Oct 2024 20:32:25 +0300 Subject: [PATCH] CI release tryfix --- .github/workflows/ci-cd.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 13c8431..5e00803 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -37,8 +37,9 @@ jobs: - name: Release uses: softprops/action-gh-release@v2 - if: github.ref == 'refs/heads/master' + if: startsWith(github.ref, 'refs/tags/') with: + fail_on_unmatched_files: true files: photomode-linux.zip win32: @@ -74,6 +75,7 @@ jobs: - name: Release uses: softprops/action-gh-release@v2 - if: github.ref == 'refs/heads/master' + if: startsWith(github.ref, 'refs/tags/') with: + fail_on_unmatched_files: true files: photomode-windows.zip