Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,35 @@ jobs:
- name: Wait 2 minutes for the Flatpak repo to update
run: sleep 120

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

steps:
- name: Publish Stable build
if: ${{ inputs.update_branch == 'release' }}
uses: vedantmgoyal9/winget-releaser@main
with:
identifier: Zen-Team.Zen-Browser
version: ${{ needs.build-data.outputs.version }}
release-tag: ${{ needs.build-data.outputs.version }}
release-notes-url: https://zen-browser.app/release-notes/#${{ needs.build-data.outputs.version }}
token: ${{ secrets.DEPLOY_KEY }}
- name: Publish Twilight build
env:
SKIP_PR_CHECK: true
if: ${{ inputs.update_branch == 'twilight' }}
uses: vedantmgoyal9/winget-releaser@main
with:
identifier: Zen-Team.Zen-Browser.Twilight
version: ${{ needs.build-data.outputs.version }}
release-tag: ${{ needs.build-data.outputs.version }}
max-versions-to-keep: 1
token: ${{ secrets.DEPLOY_KEY }}

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