File tree 1 file changed +20
-13
lines changed
1 file changed +20
-13
lines changed Original file line number Diff line number Diff line change @@ -223,16 +223,23 @@ jobs:
223
223
cd ${{ matrix.template }}
224
224
wails3 build
225
225
226
- results :
227
- if : ${{ always() }}
228
- runs-on : ubuntu-latest
229
- name : v3 Build Results
230
- needs : [test_go, test_js, test_templates]
231
- steps :
232
- - run : |
233
- result="${{ needs.build.result }}"
234
- if [[ $result == "success" || $result == "skipped" ]]; then
235
- exit 0
236
- else
237
- exit 1
238
- fi
226
+ results :
227
+ if : ${{ always() }}
228
+ runs-on : ubuntu-latest
229
+ name : v3 Build Results
230
+ needs : [test_go, test_js, test_templates]
231
+ steps :
232
+ - run : |
233
+ go_result="${{ needs.test_go.result }}"
234
+ js_result="${{ needs.test_js.result }}"
235
+ templates_result="${{ needs.test_templates.result }}"
236
+
237
+ if [[ $go_result == "success" || $go_result == "skipped" ]] && \
238
+ [[ $js_result == "success" || $js_result == "skipped" ]] && \
239
+ [[ $templates_result == "success" || $templates_result == "skipped" ]]; then
240
+ echo "All required jobs succeeded or were skipped"
241
+ exit 0
242
+ else
243
+ echo "One or more required jobs failed"
244
+ exit 1
245
+ fi
You can’t perform that action at this time.
0 commit comments