Skip to content

Commit 2bed07f

Browse files
committed
feat: Make sure to download and setup CI when checking upstream, b=no-bug, c=workflows
1 parent dbe3b34 commit 2bed07f

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.github/workflows/check-candidate-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131
secrets: inherit
3232
needs: [check_candidates]
3333
with:
34-
release_candidate: 'true'
34+
release_candidate: true

.github/workflows/sync-upstream.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ on:
66
release_candidate:
77
description: 'Set to true to sync release candidates'
88
required: false
9-
default: 'false'
9+
type: boolean
10+
default: false
1011

1112
permissions:
1213
contents: write
1314

1415
jobs:
1516
check_candidates:
17+
name: Sync Upstream
1618
runs-on: ubuntu-latest
1719

1820
steps:
@@ -38,6 +40,17 @@ jobs:
3840
if: steps.check-upstream-branch.outputs.branch_exists == 'false'
3941
run: npm ci
4042

43+
- name: Setup surfer CI
44+
if: steps.check-upstream-branch.outputs.branch_exists == 'false'
45+
run: |
46+
if [ "${{ github.event.inputs.release_candidate }}" = "false" ]; then
47+
npm run surfer -- ci --brand release
48+
fi
49+
50+
- name: Download Firefox and dependencies
51+
if: steps.check-upstream-branch.outputs.branch_exists == 'false'
52+
run: npm run download
53+
4154
- name: Sync Upstream Releases
4255
if: steps.check-upstream-branch.outputs.branch_exists == 'false'
4356
run: |

0 commit comments

Comments
 (0)