Skip to content

Commit

Permalink
Fix artifact upload on failed test
Browse files Browse the repository at this point in the history
  • Loading branch information
RaSan147 authored Apr 10, 2024
1 parent 8ba8fa5 commit f35e417
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ jobs:
with:
run: npm test

- uses: actions/upload-artifact@v3
with:
name: my-artifact
path: ${{ github.workspace }}/dist

- uses: actions/upload-artifact@v3
if: failure()
with:
name: diff-images
path: test/**/__image_snapshots__/__diff_output__/*
if-no-files-found: ignore


- uses: actions/upload-artifact@v3
with:
name: my-artifact
path: ${{ github.workspace }}/dist

0 comments on commit f35e417

Please sign in to comment.