ci: add winget releaser workflow

This commit is contained in:
Ryan Caezar Itang
2023-03-09 14:56:37 +00:00
committed by Nick Craig-Wood
parent 02dd8eacea
commit efac7e18fb
+14
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 }}