From c609beddfa49745193954ad885780f55f9534fdc Mon Sep 17 00:00:00 2001 From: ImAsra <34755744+ImAsra@users.noreply.github.com> Date: Sat, 27 Jun 2026 12:38:46 +0200 Subject: [PATCH] add GitHub Action to automate WinGet package updates (#1077) * 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 --- .github/workflows/winget-publish.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/winget-publish.yml diff --git a/.github/workflows/winget-publish.yml b/.github/workflows/winget-publish.yml new file mode 100644 index 00000000..3aefbdd8 --- /dev/null +++ b/.github/workflows/winget-publish.yml @@ -0,0 +1,21 @@ +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 }}