We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 584e146 commit c25eea2Copy full SHA for c25eea2
.github/workflows/ci.yaml
@@ -58,17 +58,18 @@ jobs:
58
print("Failed")
59
with open(github_output, 'a') as output_file:
60
print(f'{output_name}=failure', file=output_file)
61
- raise Exception("Failed")
+ exit(1)
62
else:
63
time.sleep(10)
64
print("Success")
65
66
print(f'{output_name}=success', file=output_file)
67
+ - if: always()
68
+ run: echo "0" >> "pg_result_${{ matrix.os }}"
69
- if: failure()
70
run: echo "1" >> "pg_result_${{ matrix.os }}"
- - if: success()
- run: echo "0" >> "pg_result_${{ matrix.os }}"
71
- name: Upload result artifact
72
+ if: always()
73
uses: actions/upload-artifact@v4
74
with:
75
name: "pg_result_${{ matrix.os }}"
0 commit comments