Skip to content

Commit

Permalink
Upload test artifacts only on test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
rui314 committed Mar 15, 2023
1 parent 2a26a0d commit 325d12d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
ctest . -j$(nproc)
- name: archive test results
uses: actions/upload-artifact@v3
if: always()
if: failure()
with:
name: test-results-clang
path: |
Expand Down Expand Up @@ -84,9 +84,9 @@ jobs:
ctest . -j$(nproc)
- name: archive test results
uses: actions/upload-artifact@v3
if: always()
if: failure()
with:
name: test-results
name: test-results-gcc
path: |
build/out
build/Testing
Expand Down

0 comments on commit 325d12d

Please sign in to comment.