File tree Expand file tree Collapse file tree 1 file changed +20
-13
lines changed
Expand file tree Collapse file tree 1 file changed +20
-13
lines changed Original file line number Diff line number Diff line change @@ -173,16 +173,23 @@ jobs:
173173 cd ${{ matrix.template }}
174174 wails3 build
175175
176- results :
177- if : ${{ always() }}
178- runs-on : ubuntu-latest
179- name : v3 Build Results
180- needs : [test_go, test_js, test_templates]
181- steps :
182- - run : |
183- result="${{ needs.build.result }}"
184- if [[ $result == "success" || $result == "skipped" ]]; then
185- exit 0
186- else
187- exit 1
188- fi
176+ results :
177+ if : ${{ always() }}
178+ runs-on : ubuntu-latest
179+ name : v3 Build Results
180+ needs : [test_go, test_js, test_templates]
181+ steps :
182+ - run : |
183+ go_result="${{ needs.test_go.result }}"
184+ js_result="${{ needs.test_js.result }}"
185+ templates_result="${{ needs.test_templates.result }}"
186+
187+ if [[ $go_result == "success" || $go_result == "skipped" ]] && \
188+ [[ $js_result == "success" || $js_result == "skipped" ]] && \
189+ [[ $templates_result == "success" || $templates_result == "skipped" ]]; then
190+ echo "All required jobs succeeded or were skipped"
191+ exit 0
192+ else
193+ echo "One or more required jobs failed"
194+ exit 1
195+ fi
You can’t perform that action at this time.
0 commit comments