only create winget PR for stable versions [ci skip]

This commit is contained in:
Armin Schrenk 2024-02-19 16:13:30 +01:00
parent 144e929896
commit 542d2fcfe1
No known key found for this signature in database
GPG Key ID: 8F2992163CBBA7FC

View File

@ -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