ShatteredPrism/.github/workflows/publish.yml
Seth Flynn dd90049b30 ci: use generic workflow for publishing
Signed-off-by: Seth Flynn <getchoo@tuta.io>
(cherry picked from commit 61d7f088838e25ddb0a7089a6fa3f7d232331c24)
2025-01-30 16:31:27 +00:00

24 lines
498 B
YAML

name: Publish
on:
release:
types: [ released ]
permissions:
contents: read
jobs:
winget:
name: Winget
runs-on: windows-latest
steps:
- name: Publish on Winget
uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: PrismLauncher.PrismLauncher
version: ${{ github.event.release.tag_name }}
installers-regex: 'PrismLauncher-Windows-MSVC(:?-arm64|-Legacy)?-Setup-.+\.exe$'
token: ${{ secrets.WINGET_TOKEN }}