feat: Make sure to download and setup CI when checking upstream, b=no-bug, c=workflows

This commit is contained in:
mr. m
2025-11-11 10:01:23 +01:00
parent dbe3b34609
commit 2bed07f7c6
2 changed files with 15 additions and 2 deletions

View File

@@ -31,4 +31,4 @@ jobs:
secrets: inherit
needs: [check_candidates]
with:
release_candidate: 'true'
release_candidate: true

View File

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