File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ jobs:
219
219
with :
220
220
unity_version : ${{ needs.check_and_prepare.outputs.unity_version }}
221
221
firebase_cpp_sdk_version : ${{ needs.check_and_prepare.outputs.firebase_cpp_sdk_version }}
222
- unity_branch : ${{ needs.check_and_prepare .outputs.unity_branch }}
222
+ unity_branch : ${{ needs.decide_build_branch .outputs.build_branch }}
223
223
apis : ${{ needs.check_and_prepare.outputs.apis }}
224
224
unity_platform_name : macOS,iOS
225
225
additional_cmake_flags : ${{ needs.check_and_prepare.outputs.additional_cmake_flags }}
Original file line number Diff line number Diff line change 48
48
update_versions :
49
49
name : update-version
50
50
outputs :
51
- new_branch : ${{ steps.name-branch .outputs.new_branch }}
51
+ new_branch : ${{ steps.decide-output .outputs.new_branch }}
52
52
cpp_release_version : ${{ steps.decide_input.outputs.cpp_release_version }}
53
53
runs-on : ubuntu-latest
54
54
strategy :
@@ -174,3 +174,13 @@ jobs:
174
174
echo "::warning ::No changes detected, won't create pull request."
175
175
echo "::set-output name=branch_pushed::0"
176
176
fi
177
+
178
+ - name : Decide output
179
+ id : decide-output
180
+ run : |
181
+ if [[ "${{ steps.push-branch.outputs.branch_pushed }}" == "1" ]]; then
182
+ # Triggered by callable
183
+ echo "::set-output name=new_branch::${{ steps.name-branch.outputs.new_branch }}"
184
+ else
185
+ echo "::set-output name=new_branch::"
186
+ fi
You can’t perform that action at this time.
0 commit comments