From 81081073a3c32d0cd1419dba55f8411c85a08ae4 Mon Sep 17 00:00:00 2001 From: David Dworken Date: Wed, 20 Dec 2023 15:02:16 -0800 Subject: [PATCH] Add test log as an exported file from github actions --- .github/workflows/go-test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index 4c4e5b0..f33a1ad 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -93,6 +93,12 @@ jobs: with: name: test-goldens-${{ matrix.os }} path: /tmp/test-goldens/ + - name: Upload test log + uses: actions/upload-artifact@v3 + if: success() || failure() + with: + name: testlog.txt + path: /tmp/test.log # - name: Setup tmate session # if: ${{ failure() }}