mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-06 03:25:23 +00:00
ci(winget): update winget release configuration
This commit is contained in:
parent
1e44478147
commit
56be4dca4f
10
.github/workflows/winget.yml
vendored
10
.github/workflows/winget.yml
vendored
@ -12,9 +12,17 @@ jobs:
|
|||||||
publish:
|
publish:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: vedantmgoyal9/winget-releaser@4ffc7888bffd451b357355dc214d43bb9f23917e # v2
|
- name: Get version
|
||||||
|
id: get-version
|
||||||
|
run: |
|
||||||
|
# Finding the version from release name
|
||||||
|
$VERSION="${{ github.event.release.name }}" -replace '^.*/ '
|
||||||
|
"version=$VERSION" >> $env:GITHUB_OUTPUT
|
||||||
|
shell: pwsh
|
||||||
|
- uses: vedantmgoyal9/winget-releaser@main
|
||||||
with:
|
with:
|
||||||
identifier: 'alexpasmantier.television'
|
identifier: 'alexpasmantier.television'
|
||||||
installers-regex: '-windows-x86_64\.zip$'
|
installers-regex: '-windows-x86_64\.zip$'
|
||||||
max-versions-to-keep: 5
|
max-versions-to-keep: 5
|
||||||
token: ${{ secrets.PAT_FOR_WINGET_RELEASER }}
|
token: ${{ secrets.PAT_FOR_WINGET_RELEASER }}
|
||||||
|
version: ${{ steps.get-version.outputs.version }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user