mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-22 15:25:46 +00:00
c609beddfa
* Add GitHub Actions workflow for WinGet publishing * Delete .github/workflows/winget-publish.yml * Add GitHub Actions workflow for WinGet publishing * Update winget-publish workflow to derive version
22 lines
620 B
YAML
22 lines
620 B
YAML
name: Publish to WinGet
|
|
on:
|
|
release:
|
|
types: [released]
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Derive winget version from app-v* tag
|
|
id: ver
|
|
env:
|
|
TAG: ${{ github.event.release.tag_name }}
|
|
run: echo "value=${TAG#app-v}" >> "$GITHUB_OUTPUT"
|
|
|
|
- name: Submit to WinGet Community Repository
|
|
uses: vedantmgoyal9/winget-releaser@v2
|
|
with:
|
|
identifier: Psychotoxical.Psysonic
|
|
version: ${{ steps.ver.outputs.value }}
|
|
installers-regex: 'Psysonic_.*_x64-setup\.exe$'
|
|
token: ${{ secrets.WINGET_TOKEN }}
|