Skip to content

Commit 0b363d6

Browse files
authored
fix: winget publish (#1307)
* chore(actions): Update build.yml * fix: installer regex
1 parent e9398ad commit 0b363d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
if: ${{ env.VERSION_HASH == '' }}
118118
uses: irongut/[email protected]
119119
with:
120-
token: ${{ secrets.GITHUB_TOKEN }}
120+
token: ${{ secrets.GH_TOKEN }}
121121
id: ${{ steps.get_draft_release.outputs.id }}
122122
draft: false
123123
prerelease: false

.github/workflows/winget-submission.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: vedantmgoyal2009/winget-releaser@v2
2020
with:
2121
identifier: th-ch.YouTubeMusic
22-
installers-regex: '^YouTube-Music-Setup-[\d\.]+\.exe$'
22+
installers-regex: '^YouTube-Music-Web-Setup-[\d\.]+\.exe$'
2323
version: ${{ inputs.tag_name || github.event.release.tag_name }}
2424
release-tag: ${{ inputs.tag_name || github.event.release.tag_name }}
2525
token: ${{ secrets.WINGET_ACC_TOKEN }}

0 commit comments

Comments
 (0)