소스 검색

fix not-uploading artifacts on release

Armin Schrenk 1 년 전
부모
커밋
dbc0f52481
4개의 변경된 파일6개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 1
      .github/workflows/appimage.yml
  2. 0 1
      .github/workflows/debian.yml
  3. 1 1
      .github/workflows/mac-dmg.yml
  4. 4 4
      .github/workflows/win-exe.yml

+ 1 - 1
.github/workflows/appimage.yml

@@ -168,7 +168,7 @@ jobs:
             cryptomator-*.asc
           if-no-files-found: error
       - name: Publish AppImage on GitHub Releases
-        if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'published'
+        if: startsWith(github.ref, 'refs/tags/') && github.event.action == 'published'
         uses: softprops/action-gh-release@v1
         with:
           fail_on_unmatched_files: true

+ 0 - 1
.github/workflows/debian.yml

@@ -142,7 +142,6 @@ jobs:
       - name: Publish on PPA
         if: inputs.dput
         run: dput ppa:sebastian-stenzel/cryptomator-beta cryptomator_*_source.changes
-      
       # If ref is a tag, also upload to GitHub Releases:
       - name: Publish Debian package on GitHub Releases
         if: startsWith(github.ref, 'refs/tags/') && inputs.dput

+ 1 - 1
.github/workflows/mac-dmg.yml

@@ -258,7 +258,7 @@ jobs:
             Cryptomator-*.asc
           if-no-files-found: error
       - name: Publish dmg on GitHub Releases
-        if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'published'
+        if: startsWith(github.ref, 'refs/tags/') && github.event.action == 'published'
         uses: softprops/action-gh-release@v1
         with:
           fail_on_unmatched_files: true

+ 4 - 4
.github/workflows/win-exe.yml

@@ -255,7 +255,7 @@ jobs:
             Cryptomator-*.asc
           if-no-files-found: error
       - name: Publish .msi on GitHub Releases
-        if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'published'
+        if: startsWith(github.ref, 'refs/tags/') && github.event.action == '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/') && github.event_name == 'published'
+        if: startsWith(github.ref, 'refs/tags/') && github.event.action == 'published'
         uses: softprops/action-gh-release@v1
         with:
           fail_on_unmatched_files: true
@@ -377,7 +377,7 @@ jobs:
 
   allowlist:
     name: Anti Virus Allowlisting
-    if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'published'
+    if: startsWith(github.ref, 'refs/tags/') && github.event.action == 'published'
     runs-on: ubuntu-latest
     needs: [build-msi, build-exe]
     steps:
@@ -416,7 +416,7 @@ jobs:
           local-dir: files/
   notify-winget:
     name: Notify for winget-release
-    if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'published' && needs.get-version.outputs.versionType == 'stable'
+    if: startsWith(github.ref, 'refs/tags/') && github.event.action == 'published' && needs.get-version.outputs.versionType == 'stable'
     needs: [build-msi, get-version]
     runs-on: ubuntu-latest
     steps: