Add -> winget -> auto update

This commit is contained in:
YZR
2024-12-25 11:31:46 +08:00
parent 11f8e992e7
commit 37d77a75c0
4 changed files with 21 additions and 25 deletions

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

@@ -0,0 +1,13 @@
name: Publish to WinGet
on:
release:
types: [released]
jobs:
publish:
runs-on: windows-latest
steps:
- uses: vedantmgoyal9/winget-releaser@main
with:
identifier: RubyMetric.chsrc
installers-regex: '\.exe$' # Only .exe files
token: ${{ secrets.WINGET_TOKEN }}