Skip to content

Commit 97dc662

Browse files
author
Cynthia Jiang
committed
test
1 parent fe55a31 commit 97dc662

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

.github/workflows/android.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
description: 'Firebase CPP SDK version to build against (The branch, tag or SHA to checkout)'
1313
default: ''
1414
required: false
15+
unity_branch:
16+
description: 'Unity branch to build against, empty means current branch'
17+
default: ''
1518

1619
jobs:
1720
build_android:
@@ -30,6 +33,7 @@ jobs:
3033
uses: actions/checkout@v2
3134
with:
3235
submodules: true
36+
ref: ${{ github.event.inputs.unity_branch }}
3337

3438
- name: Checkout CPP Repo
3539
uses: actions/checkout@v2

.github/workflows/ios.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313
description: 'Firebase CPP SDK version to build against (The branch, tag or SHA to checkout)'
1414
default: ''
1515
required: false
16+
unity_branch:
17+
description: 'Unity branch to build against, empty means current branch'
18+
default: ''
1619

1720
jobs:
1821
build_ios:
@@ -31,6 +34,7 @@ jobs:
3134
uses: actions/checkout@v2
3235
with:
3336
submodules: true
37+
ref: ${{ github.event.inputs.unity_branch }}
3438

3539
- name: Checkout CPP Repo
3640
uses: actions/checkout@v2

.github/workflows/sdk_build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
description: 'Additional flags to pass into CMake'
1515
default: ''
1616
required: false
17+
unity_branch:
18+
description: 'Unity branch to build against, empty means current branch'
19+
default: ''
1720

1821
jobs:
1922
build_desktop:
@@ -45,6 +48,7 @@ jobs:
4548
- uses: actions/checkout@v2
4649
with:
4750
submodules: true
51+
ref: ${{ github.event.inputs.unity_branch }}
4852

4953
- uses: actions/checkout@v2
5054
with:

.github/workflows/update_versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,4 @@ jobs:
172172
set -e
173173
compose_new_branch=firebase-unity-sdk/${{ needs.update_versions.outputs.new_branch }}
174174
echo "New branch is: ${compose_new_branch}"
175-
python scripts/gha/trigger_workflow.py -t ${{ steps.generate-build-token.outputs.token }} -w ${{ matrix.trigger_file }} -b ${compose_new_branch}
175+
python scripts/gha/trigger_workflow.py -t ${{ steps.generate-build-token.outputs.token }} -w ${{ matrix.trigger_file }} -p unity_branch ${{ needs.update_versions.outputs.new_branch }}

0 commit comments

Comments
 (0)