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'