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:
parent
3b101705d5
commit
fe6635c1eb
11
.github/workflows/build-and-test-v3.yml
vendored
11
.github/workflows/build-and-test-v3.yml
vendored
@ -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
|
Loading…
Reference in New Issue
Block a user