prevent automatic overwrite of already released files

This commit is contained in:
Armin Schrenk
2024-02-12 13:16:45 +01:00
parent 36ec1a5ebc
commit 5fc981abd3
4 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -255,7 +255,7 @@ jobs:
Cryptomator-*.asc
if-no-files-found: error
- name: Publish .msi on GitHub Releases
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'published'
uses: softprops/action-gh-release@v1
with:
fail_on_unmatched_files: true
@@ -366,7 +366,7 @@ jobs:
Cryptomator-*.asc
if-no-files-found: error
- name: Publish .msi on GitHub Releases
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'published'
uses: softprops/action-gh-release@v1
with:
fail_on_unmatched_files: true
@@ -416,7 +416,7 @@ jobs:
local-dir: files/
notify-winget:
name: Notify for winget-release
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'published'
needs: [build-msi]
runs-on: ubuntu-latest
steps: