File tree Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 12
12
description : ' Firebase CPP SDK version to build against (The branch, tag or SHA to checkout)'
13
13
default : ' '
14
14
required : false
15
+ unity_branch :
16
+ description : ' Unity branch to build against, empty means current branch'
17
+ default : ' '
15
18
16
19
jobs :
17
20
build_android :
30
33
uses : actions/checkout@v2
31
34
with :
32
35
submodules : true
36
+ ref : ${{ github.event.inputs.unity_branch }}
33
37
34
38
- name : Checkout CPP Repo
35
39
uses : actions/checkout@v2
Original file line number Diff line number Diff line change 13
13
description : ' Firebase CPP SDK version to build against (The branch, tag or SHA to checkout)'
14
14
default : ' '
15
15
required : false
16
+ unity_branch :
17
+ description : ' Unity branch to build against, empty means current branch'
18
+ default : ' '
16
19
17
20
jobs :
18
21
build_ios :
31
34
uses : actions/checkout@v2
32
35
with :
33
36
submodules : true
37
+ ref : ${{ github.event.inputs.unity_branch }}
34
38
35
39
- name : Checkout CPP Repo
36
40
uses : actions/checkout@v2
Original file line number Diff line number Diff line change 14
14
description : ' Additional flags to pass into CMake'
15
15
default : ' '
16
16
required : false
17
+ unity_branch :
18
+ description : ' Unity branch to build against, empty means current branch'
19
+ default : ' '
17
20
18
21
jobs :
19
22
build_desktop :
45
48
- uses : actions/checkout@v2
46
49
with :
47
50
submodules : true
51
+ ref : ${{ github.event.inputs.unity_branch }}
48
52
49
53
- uses : actions/checkout@v2
50
54
with :
Original file line number Diff line number Diff line change @@ -172,4 +172,4 @@ jobs:
172
172
set -e
173
173
compose_new_branch=firebase-unity-sdk/${{ needs.update_versions.outputs.new_branch }}
174
174
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 } }
You can’t perform that action at this time.
0 commit comments