[ci] mark skip as success instead of failure (#14014)
This commit is contained in:
7
.github/workflows/pr-test-xpu.yml
vendored
7
.github/workflows/pr-test-xpu.yml
vendored
@@ -109,9 +109,10 @@ jobs:
|
||||
steps:
|
||||
- name: Check job status
|
||||
run: |
|
||||
if [ "${{ needs.build-and-test.result }}" != "success" ]; then
|
||||
echo "Job failed with result: ${{ needs.build-and-test.result }}"
|
||||
result="${{ needs.build-and-test.result }}"
|
||||
if [ "$result" != "success" ] && [ "$result" != "skipped" ]; then
|
||||
echo "Job failed with result: $result"
|
||||
exit 1
|
||||
fi
|
||||
echo "All jobs completed successfully"
|
||||
echo "All jobs completed successfully (result: $result)"
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user