mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-04-17 07:47:00 -04:00
Runner token permissions should be explicitly declared at the job-level Signed-off-by: Seth Flynn <getchoo@tuta.io>
26 lines
520 B
YAML
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 }}
|