mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
build workflow should upload logfiles for success() or failure() of previous jobs, but not when canceled
This commit is contained in:
parent
40c9682340
commit
bc4773269f
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -33,11 +33,12 @@ jobs:
|
||||
run: mvn verify
|
||||
|
||||
- name: Capture
|
||||
run: tar -cvf jbanks_files.tar [a-zA-Z]**/logs/*
|
||||
run: tar -cvf logfiles.tar [a-zA-Z]**/logs/*
|
||||
if: success() || failure()
|
||||
|
||||
- name: Archive Test Results
|
||||
if: always()
|
||||
if: success() || failure()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: test-results
|
||||
path: jbanks_files.tar
|
||||
path: logfiles.tar
|
||||
|
Loading…
Reference in New Issue
Block a user