ci: use generic workflow for publishing

Signed-off-by: Seth Flynn <getchoo@tuta.io>
(cherry picked from commit 61d7f088838e25ddb0a7089a6fa3f7d232331c24)
This commit is contained in:
Seth Flynn 2025-01-29 07:50:36 -05:00 committed by github-actions[bot]
parent 18170cc900
commit dd90049b30

View File

@ -1,13 +1,21 @@
name: Publish to WinGet
name: Publish
on:
release:
types: [released]
types: [ released ]
permissions:
contents: read
jobs:
publish:
winget:
name: Winget
runs-on: windows-latest
steps:
- uses: vedantmgoyal2009/winget-releaser@v2
- name: Publish on Winget
uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: PrismLauncher.PrismLauncher
version: ${{ github.event.release.tag_name }}