mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-07 22:03:24 +00:00
feat: Make sure to download and setup CI when checking upstream, b=no-bug, c=workflows
This commit is contained in:
@@ -31,4 +31,4 @@ jobs:
|
||||
secrets: inherit
|
||||
needs: [check_candidates]
|
||||
with:
|
||||
release_candidate: 'true'
|
||||
release_candidate: true
|
||||
|
||||
15
.github/workflows/sync-upstream.yml
vendored
15
.github/workflows/sync-upstream.yml
vendored
@@ -6,13 +6,15 @@ on:
|
||||
release_candidate:
|
||||
description: 'Set to true to sync release candidates'
|
||||
required: false
|
||||
default: 'false'
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
check_candidates:
|
||||
name: Sync Upstream
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@@ -38,6 +40,17 @@ jobs:
|
||||
if: steps.check-upstream-branch.outputs.branch_exists == 'false'
|
||||
run: npm ci
|
||||
|
||||
- name: Setup surfer CI
|
||||
if: steps.check-upstream-branch.outputs.branch_exists == 'false'
|
||||
run: |
|
||||
if [ "${{ github.event.inputs.release_candidate }}" = "false" ]; then
|
||||
npm run surfer -- ci --brand release
|
||||
fi
|
||||
|
||||
- name: Download Firefox and dependencies
|
||||
if: steps.check-upstream-branch.outputs.branch_exists == 'false'
|
||||
run: npm run download
|
||||
|
||||
- name: Sync Upstream Releases
|
||||
if: steps.check-upstream-branch.outputs.branch_exists == 'false'
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user