From 0f1106b7fb0e20176c9cc9c5e28ca1c7a369cbbe Mon Sep 17 00:00:00 2001 From: Yuito Murase Date: Tue, 5 Mar 2024 15:58:00 +0900 Subject: [PATCH] GH-142: Upload report only on failure --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8acaf56..0386572 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,10 +36,11 @@ jobs: - if: always() name: Install Apt dependencies run: apt-get update && apt-get install -y xz-utils liblzma-dev - - name: Upload artifact + - if: ${{ failure() }} + name: Upload artifact uses: actions/upload-artifact@master with: - name: satysfi-test-report + name: satysfi-test-report-${{ matrix.version }} path: test/report.txt regression-test: name: Regression tests