Skip to content

Commit

Permalink
build: Fix path for screenshots to be stored after fail
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Jelinek <[email protected]>
  • Loading branch information
djelinek committed Apr 10, 2024
1 parent b5b500c commit df2d32d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/template-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ jobs:
if: failure() && inputs.nodejs != 'lts/*'
with:
name: screenshots-${{ matrix.os }}-${{ inputs.version }}-node_${{ inputs.nodejs }}
path: ${{ github.workspace }}/test/**/screenshots/*.png
path: ${{ github.workspace }}/tests/**/screenshots/*.png

- name: 💾 Upload Screenshots
uses: actions/upload-artifact@v4
if: failure() && inputs.nodejs == 'lts/*'
with:
name: screenshots-${{ matrix.os }}-${{ inputs.version }}-node_lts
path: ${{ github.workspace }}/test/**/screenshots/*.png
path: ${{ github.workspace }}/tests/**/screenshots/*.png

0 comments on commit df2d32d

Please sign in to comment.