mirror of
https://github.com/c0re100/qBittorrent-Enhanced-Edition.git
synced 2025-01-07 03:16:40 +08:00
Update winget.yml (#423)
This commit is contained in:
parent
325910487c
commit
26addb643c
10
.github/workflows/winget.yml
vendored
10
.github/workflows/winget.yml
vendored
@ -6,8 +6,16 @@ jobs:
|
||||
publish:
|
||||
runs-on: windows-latest # action can only be run on windows
|
||||
steps:
|
||||
- uses: vedantmgoyal2009/winget-releaser@latest
|
||||
- name: Get version
|
||||
id: get-version
|
||||
run: |
|
||||
# Finding the version from release name
|
||||
$VERSION = "${{ github.event.release.tag_name }}".TrimStart('release-')
|
||||
echo "::set-output name=version::$VERSION"
|
||||
shell: pwsh
|
||||
- uses: vedantmgoyal2009/winget-releaser@v1
|
||||
with:
|
||||
identifier: c0re100.qBittorrent-Enhanced-Edition
|
||||
version: ${{ steps.get-version.outputs.version }}
|
||||
installers-regex: 'qbittorrent_enhanced_[0-9.]+(_x64)?_setup.exe$'
|
||||
token: ${{ secrets.WINGET_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user