From 0564e8fdeace236f14002f1a65529cdee6781cfa Mon Sep 17 00:00:00 2001 From: Lorenzo Bettini Date: Wed, 12 May 2021 19:25:20 +0200 Subject: [PATCH] 81: archive results also if cancelled FIXED Task-Url: http://github.com/pitest/pitclipse/issues/81 --- .github/workflows/maven.yml | 4 ++-- .github/workflows/windows-mac.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index e94be579..51c694c1 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -46,13 +46,13 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Archive Test Results uses: actions/upload-artifact@v2 - if: ${{ failure() }} || ${{ cancelled() }} + if: ${{ failure() || cancelled() }} with: name: test-results-${{ runner.os }} path: '**/*.tests/target' - name: Archive UI Tests Screenshots uses: actions/upload-artifact@v2 - if: ${{ failure() }} || ${{ cancelled() }} + if: ${{ failure() || cancelled() }} with: name: screenshots-${{ runner.os }} path: '**/*.tests/screenshots' diff --git a/.github/workflows/windows-mac.yml b/.github/workflows/windows-mac.yml index 227d573a..0f6aa97d 100644 --- a/.github/workflows/windows-mac.yml +++ b/.github/workflows/windows-mac.yml @@ -35,13 +35,13 @@ jobs: run: mvn '-Dtycho.disableP2Mirrors=true' verify - name: Archive Test Results uses: actions/upload-artifact@v2 - if: ${{ failure() }} || ${{ cancelled() }} + if: ${{ failure() || cancelled() }} with: name: test-results-${{ runner.os }} path: '**/*.tests/target' - name: Archive UI Tests Screenshots uses: actions/upload-artifact@v2 - if: ${{ failure() }} || ${{ cancelled() }} + if: ${{ failure() || cancelled() }} with: name: screenshots-${{ runner.os }} path: '**/*.tests/screenshots'