mirror of
https://github.com/libtom/libtomcrypt
synced 2026-08-25 20:26:07 -04:00
pack up failed build to be able to investigate
Sometimes it's hard to reproduce an issue as they happen on CI, so let's pack-up what we can on failure and upload it as artifact. Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
parent
6552fbcfe2
commit
69843a4807
1 changed files with 11 additions and 0 deletions
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
|
|
@ -65,3 +65,14 @@ jobs:
|
|||
cat test_std.txt
|
||||
cat test_err.txt
|
||||
cat tv.txt
|
||||
- name: pack build directory
|
||||
if: ${{ failure() }}
|
||||
run: |
|
||||
tar cJf build-${{ github.run_id }}.tar.xz --exclude ./build-${{ github.run_id }}.tar.xz .
|
||||
- name: upload Artifact
|
||||
if: ${{ failure() }}
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: build-${{ github.run_id }}.tar.xz
|
||||
path: build-${{ github.run_id }}.tar.xz
|
||||
retention-days: 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue