Skip to content

Commit 23e8653

Browse files
authored
upload the error logs to artifact repository (#4938)
1 parent 5bfb431 commit 23e8653

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/c-cpp.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,8 @@ jobs:
3838
run: cd src && make -j 3
3939
- name: make test
4040
run: cd src && make test
41+
- name: upload logs if failure
42+
if: ${{ failure() }}
43+
uses: actions/upload-artifact@v4
44+
name: fail-logs
45+
path: ${{ github.workspace }}/src/**/*testlog

0 commit comments

Comments
 (0)