Files
PrismLauncher/.github/workflows/publish.yml
Seth Flynn add9e55493 ci: use permissionless runner token by default
Runner token permissions should be explicitly declared at the job-level

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2026-02-02 17:01:07 -05:00

26 lines
520 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
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 }}