Skip to content

Commit

Permalink
chore: prevent duplicate report names
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Bocian committed May 9, 2024
1 parent 4f07c56 commit 56b84d0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,16 @@ jobs:
echo "node=node_${node/.*.*/}" >> $env:GITHUB_OUTPUT
shell: bash
if: '${{ !steps.release-check.outputs.IS_RELEASE }}'

- name: Sanitize shard for artefact name
id: sanitize-shard-name
run: echo "shard=$(echo ${{ matrix.shard }}" | tr "/" "-of-") >> $GITHUB_OUTPUT

- name: Store npm error artefacts
uses: actions/upload-artifact@v4
if: always()
with:
name: npm-logs
name: npm-logs--${{ matrix.os }}--${{ matrix.node-version }}--${{ steps.sanitize-shard-name.outputs.shard }}
path: |
/home/runner/.npm/_logs/**/*
Expand Down

0 comments on commit 56b84d0

Please sign in to comment.