diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..de9ddba --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,19 @@ +name: Publish + +on: + release: + types: [released] + +jobs: + + winget: + runs-on: windows-latest + steps: + # Requires forked winget-pkgs: https://github.com/microsoft/winget-pkgs to the same account as this project + - name: Submit to WinGet + uses: vedantmgoyal2009/winget-releaser@v2 + with: + identifier: Foxlider.FASTER + installers-regex: 'Release_x64.zip' + max-versions-to-keep: 5 + token: ${{ secrets.WINGET_TOKEN }} # Classic Personal Access Token with [public_repo, workflow] scopes \ No newline at end of file