ci: add winget releaser workflow

This commit is contained in:
Ryan Caezar Itang 2023-03-07 10:12:40 +08:00 committed by Nick Craig-Wood
parent 02dd8eacea
commit efac7e18fb

14
.github/workflows/winget.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: Publish to Winget
on:
release:
types: [released]
jobs:
publish:
runs-on: windows-latest # Action can only run on Windows
steps:
- uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: Rclone.Rclone
installers-regex: '-windows-\w+\.zip$'
token: ${{ secrets.WINGET_TOKEN }}