From 0b363d64871e0417221408337868cb6c9efb81a4 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Thu, 12 Oct 2023 08:01:10 +0900 Subject: [PATCH] fix: winget publish (#1307) * chore(actions): Update build.yml * fix: installer regex --- .github/workflows/build.yml | 2 +- .github/workflows/winget-submission.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6b1c378f..9967654b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -117,7 +117,7 @@ jobs: if: ${{ env.VERSION_HASH == '' }} uses: irongut/EditRelease@v1.2.0 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.GH_TOKEN }} id: ${{ steps.get_draft_release.outputs.id }} draft: false prerelease: false diff --git a/.github/workflows/winget-submission.yml b/.github/workflows/winget-submission.yml index c697a6c8..31b18857 100644 --- a/.github/workflows/winget-submission.yml +++ b/.github/workflows/winget-submission.yml @@ -19,7 +19,7 @@ jobs: uses: vedantmgoyal2009/winget-releaser@v2 with: identifier: th-ch.YouTubeMusic - installers-regex: '^YouTube-Music-Setup-[\d\.]+\.exe$' + installers-regex: '^YouTube-Music-Web-Setup-[\d\.]+\.exe$' version: ${{ inputs.tag_name || github.event.release.tag_name }} release-tag: ${{ inputs.tag_name || github.event.release.tag_name }} token: ${{ secrets.WINGET_ACC_TOKEN }}