Skip to content

Commit

Permalink
skip log archival on cancelled jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
jberthold committed Jul 9, 2024
1 parent 94860c5 commit 55baa7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,10 @@ jobs:
- name: 'Run claim generation tests'
run: GC_DONT_GC=1 nix develop .#kmxwasm-test-shell --extra-experimental-features 'nix-command flakes' --print-build-logs --command './generate-claims.sh'
- name: Compress server logs from smoke test
if: always()
run: gzip /tmp/smoke-log.json
if: success() || failure()
run: touch /tmp/smoke-log.json && ls -l /tmp/smoke-log.json && gzip /tmp/smoke-log.json
- name: Archive server logs for inspection
if: always()
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "${{ matrix.runner }}.smoke-log.json.gz"
Expand Down

0 comments on commit 55baa7a

Please sign in to comment.