diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index db72c06c..69455c0c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,6 +82,12 @@ jobs: with: upload_url: ${{ github.event.release.upload_url }} asset_path: "build/Whalebird-*.shasum" + - name: Release to WinGet + uses: vedantmgoyal2009/winget-releaser@v1 + with: + identifier: h3poteto.whalebird-desktop + version: ${{ github.event.release.tag_name }} + token: ${{ secrets.WINGET_TOKEN }} release-darwin: name: Release for MacOS diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml deleted file mode 100644 index 4038fb0f..00000000 --- a/.github/workflows/winget.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Publish to WinGet -on: - release: - types: [released] -jobs: - publish: - runs-on: windows-latest # action can only be run on windows - steps: - - uses: vedantmgoyal2009/winget-releaser@v1 - with: - identifier: h3poteto.whalebird-desktop - version: ${{ github.event.release.tag_name }} - token: ${{ secrets.WINGET_TOKEN }}