5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 06:39:30 +08:00

Update Results stage in pipeline

This commit is contained in:
Lea Anthony 2025-03-12 08:32:26 +11:00
parent 3b101705d5
commit fe6635c1eb
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405

View File

@ -230,9 +230,16 @@ jobs:
needs: [test_go, test_js, test_templates] needs: [test_go, test_js, test_templates]
steps: steps:
- run: | - run: |
result="${{ needs.build.result }}" go_result="${{ needs.test_go.result }}"
if [[ $result == "success" || $result == "skipped" ]]; then js_result="${{ needs.test_js.result }}"
templates_result="${{ needs.test_templates.result }}"
if [[ $go_result == "success" || $go_result == "skipped" ]] && \
[[ $js_result == "success" || $js_result == "skipped" ]] && \
[[ $templates_result == "success" || $templates_result == "skipped" ]]; then
echo "All required jobs succeeded or were skipped"
exit 0 exit 0
else else
echo "One or more required jobs failed"
exit 1 exit 1
fi fi