Skip to content

Commit

Permalink
fix(nodejs-build): Do not use unsupported special chars for artifacts…
Browse files Browse the repository at this point in the history
… name in NodeJS workflow

Signed-off-by: Dominik Jelinek <[email protected]>
  • Loading branch information
djelinek committed Mar 19, 2024
1 parent 56b0840 commit a3ef7ea
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/template-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,14 @@ jobs:
- name: Upload Screenshots
uses: actions/upload-artifact@v4
if: failure()
if: failure() && inputs.nodejs != 'lts/*'
with:
name: screenshots-${{ matrix.os }}-${{ inputs.version }}-node_${{ inputs.nodejs }}
path: ${{ github.workspace }}/test/**/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

0 comments on commit a3ef7ea

Please sign in to comment.