diff options
-rw-r--r-- | .github/workflows/ci.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9f64ab2..0d30b64 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -87,7 +87,7 @@ jobs: run: cargo test --verbose - name: Upload snapshots of failed tests - if: ${{ steps.run_tests.outcome == 'failure' }} + if: ${{ failure() && steps.run_tests.outcome == 'failure' }} uses: actions/upload-artifact@v3 with: name: ${{ matrix.os }}-${{ matrix.rust }}-failed_snapshots |