Files
PrismLauncher/.github/workflows/publish.yml
T
2026-07-22 15:27:46 +05:00

27 lines
705 B
YAML

name: Publish
on:
release:
types: [ released ]
permissions: {}
jobs:
winget:
name: Winget
permissions:
contents: read
runs-on: ubuntu-slim
steps:
- name: Publish on Winget
# @Octol1ttle: Pinned to a commit because no release has been published that works on ubuntu-slim
uses: vedantmgoyal2009/winget-releaser@7bd472be23763def6e16bd06cc8b1cdfab0e2fd5 # docs: add description to inputs (#335)
with:
identifier: PrismLauncher.PrismLauncher
version: ${{ github.event.release.tag_name }}
installers-regex: 'PrismLauncher-Windows-MSVC(:?-arm64|-Legacy)?-Setup-.+\.exe$'
token: ${{ secrets.WINGET_TOKEN }}