Merge pull request #161 from YU-7/feature-winget_release

Add WinGet pkg info
This commit is contained in:
ccmywish 2024-12-25 15:10:45 +08:00 committed by GitHub
commit 00910b025e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 20 additions and 2 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 }}

View File

@ -5,6 +5,7 @@ https://github.com/RubyMetric/chsrc/issues/16
- [x] `Homebrew`
- [x] `Scoop`
- [x] `AUR`
- [x] `Winget`
- [ ] `Flatpak`
- [ ] `snap`
- [ ] ...
@ -36,3 +37,7 @@ https://github.com/ScoopInstaller/Main/blob/master/bucket/chsrc.json
[chsrc](https://aur.archlinux.org/packages/chsrc)从GitHub Release的代码构建
[chsrc-git](https://aur.archlinux.org/packages/chsrc-git):从最新源码构建的版本,偶尔可能不稳定
# Winget
`winget install RubyMetric.chsrc` 直接使用winget命令安装

View File

@ -19,9 +19,9 @@
* | czyt <czyt.go@gmail.com>
* | zouri <guoshuaisun@outlook.com>
* | yongxiang <1926885268@qq.com>
* |
* | YU-7 <2747046473@qq.com>
* Created On : <2023-08-28>
* Last Modified : <2024-12-18>
* Last Modified : <2024-12-25>
*
* chsrc: Change Source
* ------------------------------------------------------------*/