Create winget.yml

This commit is contained in:
YU-7 2024-12-24 16:28:54 +08:00 committed by GitHub
parent 4a89c96232
commit 11f8e992e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

22
.github/workflows/winget vendored Normal file
View File

@ -0,0 +1,22 @@
- name: WinGet Releaser
# You may pin to the exact commit or the version.
# uses: vedantmgoyal9/winget-releaser@93fd8b606a1672ec3e5c6c3bb19426be68d1a8b0
uses: vedantmgoyal9/winget-releaser@v2
with:
# The PackageIdentifier of the package you want to release.
identifier:
# The PackageVersion of the package you want to release.
version: # optional
# The regex to match the installers.
installers-regex: # default is .(exe|msi|msix|appx)(bundle){0,1}$
# The maximum number of versions to keep in WinGet Community Repository (Default: 0 - no limit)
max-versions-to-keep: # default is 0
# The repository where the release is present (should be present under same user/organization).
release-repository: # default is ${{ github.event.repository.name }}
# The release tag to be used for creating manifests.
release-tag: # default is ${{ github.event.release.tag_name || github.ref_name }}
# GitHub token to create pull request on Windows Package Manager Community Repository.
token:
# GitHub username where the fork of winget-pkgs is present.
fork-user: # default is ${{ github.repository_owner }}