75
75
run : pip install -r scripts/gha/requirements.txt
76
76
- id : set_outputs
77
77
run : |
78
- platform=$( python scripts/gha/print_matrix_configuration.py -c -w build_unity_sdks -k platform -o "${{ github.event.inputs.platforms }}" )
78
+ platform=$( python scripts/gha/print_matrix_configuration.py -c -w config -k platform -o "${{ github.event.inputs.platforms }}" )
79
79
echo "::set-output name=platform::${platform}"
80
80
echo "::set-output name=release_label::${{ github.event.inputs.release_version }}-${{ github.event.inputs.rc_index }}"
81
+ - name : Print output
82
+ run : |
83
+ echo outputs.platform : ${{ steps.set_outputs.outputs.platform }}
84
+ echo outputs.release_label : ${{ steps.set_outputs.outputs.release_label }}
81
85
82
86
update_versions :
83
87
uses : ./.github/workflows/update_versions.yml
93
97
decide_build_branch :
94
98
needs : update_versions
95
99
runs-on : ubuntu-latest
100
+ if : always()
96
101
outputs :
97
102
build_branch : ${{ steps.decide_branch.outputs.branch }}
98
103
steps :
@@ -109,7 +114,7 @@ jobs:
109
114
name : build-android-unity${{ github.event.inputs.unity_version }}-CPP${{ github.event.inputs.firebase_cpp_sdk_version }}
110
115
uses : ./.github/workflows/build_android.yml
111
116
needs : [check_and_prepare, decide_build_branch]
112
- if : contains(needs.check_and_prepare.outputs.platform, 'Android')
117
+ if : always() && contains(needs.check_and_prepare.outputs.platform, 'Android')
113
118
with :
114
119
unity_version : ${{ github.event.inputs.unity_version }}
115
120
firebase_cpp_sdk_version : ${{ github.event.inputs.firebase_cpp_sdk_version }}
@@ -122,7 +127,7 @@ jobs:
122
127
name : build-ios-unity${{ github.event.inputs.unity_version }}-CPP${{ github.event.inputs.firebase_cpp_sdk_version }}
123
128
uses : ./.github/workflows/build_ios.yml
124
129
needs : [check_and_prepare, decide_build_branch]
125
- if : contains(needs.check_and_prepare.outputs.platform, 'iOS')
130
+ if : always() && contains(needs.check_and_prepare.outputs.platform, 'iOS')
126
131
with :
127
132
unity_version : ${{ github.event.inputs.unity_version }}
128
133
firebase_cpp_sdk_version : ${{ github.event.inputs.firebase_cpp_sdk_version }}
@@ -135,7 +140,7 @@ jobs:
135
140
name : build-linux-unity${{ github.event.inputs.unity_version }}-CPP${{ github.event.inputs.firebase_cpp_sdk_version }}
136
141
uses : ./.github/workflows/build_linux.yml
137
142
needs : [check_and_prepare, decide_build_branch]
138
- if : contains(needs.check_and_prepare.outputs.platform, 'Linux')
143
+ if : always() && contains(needs.check_and_prepare.outputs.platform, 'Linux')
139
144
with :
140
145
unity_version : ${{ github.event.inputs.unity_version }}
141
146
firebase_cpp_sdk_version : ${{ github.event.inputs.firebase_cpp_sdk_version }}
@@ -148,7 +153,7 @@ jobs:
148
153
name : build-macos-unity${{ github.event.inputs.unity_version }}-CPP${{ github.event.inputs.firebase_cpp_sdk_version }}
149
154
uses : ./.github/workflows/build_macos.yml
150
155
needs : [check_and_prepare, decide_build_branch]
151
- if : contains(needs.check_and_prepare.outputs.platform, 'macOS')
156
+ if : always() && contains(needs.check_and_prepare.outputs.platform, 'macOS')
152
157
with :
153
158
unity_version : ${{ github.event.inputs.unity_version }}
154
159
firebase_cpp_sdk_version : ${{ github.event.inputs.firebase_cpp_sdk_version }}
@@ -161,7 +166,7 @@ jobs:
161
166
name : build-windows-unity${{ github.event.inputs.unity_version }}-CPP${{ github.event.inputs.firebase_cpp_sdk_version }}
162
167
uses : ./.github/workflows/build_windows.yml
163
168
needs : [check_and_prepare, decide_build_branch]
164
- if : contains(needs.check_and_prepare.outputs.platform, 'Windows')
169
+ if : always() && contains(needs.check_and_prepare.outputs.platform, 'Windows')
165
170
with :
166
171
unity_version : ${{ github.event.inputs.unity_version }}
167
172
firebase_cpp_sdk_version : ${{ github.event.inputs.firebase_cpp_sdk_version }}
0 commit comments