Explorar el Código

only create winget PR for stable versions [ci skip]

Armin Schrenk hace 1 año
padre
commit
542d2fcfe1
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      .github/workflows/win-exe.yml

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

@@ -416,8 +416,8 @@ jobs:
           local-dir: files/
   notify-winget:
     name: Notify for winget-release
-    if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'published'
-    needs: [build-msi]
+    if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'published' && needs.get-version.outputs.versionType == 'stable'
+    needs: [build-msi, get-version]
     runs-on: ubuntu-latest
     steps:
       - name: Slack Notification