Merge pull request #3778 from vedantmgoyal2009/patch-1

Update release.yml
This commit is contained in:
AkiraFukushima 2022-11-11 09:16:23 +09:00 committed by GitHub
commit f8509b6eb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 13 deletions

View File

@ -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

View File

@ -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 }}