chsrc/.github/workflows/pub-WinGet.yml
2025-06-16 00:40:04 +08:00

25 lines
691 B
YAML

# ---------------------------------------------------------------
# Workflow File : pub-WinGet.yml
# File Authors : YU-7 <2747046473@qq.com>
# Contributors : Nul None <nul@none.org>
# |
# Created On : <2024-12-25>
# Last Modified : <2024-12-25>
#
# This workflow publish to winget
# ---------------------------------------------------------------
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 }}