Skip to content

Commit c25eea2

Browse files
committed
debug
1 parent 584e146 commit c25eea2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,18 @@ jobs:
5858
print("Failed")
5959
with open(github_output, 'a') as output_file:
6060
print(f'{output_name}=failure', file=output_file)
61-
raise Exception("Failed")
61+
exit(1)
6262
else:
6363
time.sleep(10)
6464
print("Success")
6565
with open(github_output, 'a') as output_file:
6666
print(f'{output_name}=success', file=output_file)
67+
- if: always()
68+
run: echo "0" >> "pg_result_${{ matrix.os }}"
6769
- if: failure()
6870
run: echo "1" >> "pg_result_${{ matrix.os }}"
69-
- if: success()
70-
run: echo "0" >> "pg_result_${{ matrix.os }}"
7171
- name: Upload result artifact
72+
if: always()
7273
uses: actions/upload-artifact@v4
7374
with:
7475
name: "pg_result_${{ matrix.os }}"

0 commit comments

Comments
 (0)