Skip to content

Commit 8d4a72d

Browse files
committed
upload logs on failure
1 parent 26ab232 commit 8d4a72d

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,15 @@ jobs:
5050
env:
5151
LABEL: ${{ matrix.label }}
5252
run: ctest -S ODCTest.cmake -VV --output-on-failure ${{ matrix.extra }}
53+
54+
- name: Upload logs on failure
55+
if: failure()
56+
uses: actions/upload-artifact@v4
57+
with:
58+
name: logs-${{ matrix.label }}
59+
path: |
60+
~/.ODC/
61+
~/.DDS/
62+
build/tmp/
63+
if-no-files-found: ignore
64+
retention-days: 7

0 commit comments

Comments
 (0)