diff options
author | Darren Tucker <dtucker@dtucker.net> | 2021-06-07 19:19:23 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-06-07 19:19:23 +1000 |
commit | da9f9acaac5bab95dca642b48e0c8182b246ab69 (patch) | |
tree | 4b619213de0bfd26567f708cfd04b89d10f194e9 | |
parent | 76883c60161e5f3808787085a27a8c37f8cc4e08 (diff) |
Save logs on failure for upstream test
-rw-r--r-- | .github/workflows/upstream.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml index a5baab0f..71b11463 100644 --- a/.github/workflows/upstream.yml +++ b/.github/workflows/upstream.yml @@ -29,6 +29,13 @@ jobs: run: vmrun "cd /usr/src/usr.bin/ssh && sudo make install" - name: make tests run: vmrun "cd /usr/src/regress/usr.bin/ssh && make obj && make clean && SUDO=sudo make" + - name: save logs + if: failure() + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.os }}-logs + path: | + /usr/obj/regress/usr.bin/ssh/*.log - name: shutdown VM if: always() run: vmshutdown |