Skip to content

Commit

Permalink
ci: add winget releaser workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sitiom committed Dec 24, 2024
1 parent 80b2079 commit 3dd2981
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,22 @@ jobs:
- name: Wait 2 minutes for the Flatpak repo to update
run: sleep 120

release-winget:
if: ${{ inputs.create_release && inputs.update_branch == 'beta' }}
permissions: write-all
name: Release Winget
needs: [release, build-data]
runs-on: ubuntu-latest

steps:
- name: Publish build
uses: vedantmgoyal9/winget-releaser@main
with:
identifier: Zen-Team.Zen-Browser
version: ${{ needs.build-data.outputs.version }}
release-tag: ${{ needs.build-data.outputs.version }}
token: ${{ secrets.DEPLOY_KEY }}

release-flatpak:
if: ${{ inputs.create_release && inputs.update_branch == 'beta' }}
permissions: write-all
Expand Down

0 comments on commit 3dd2981

Please sign in to comment.