mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-21 03:32:46 +08:00
25 lines
691 B
YAML
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 }}
|