Skip to content

Commit

Permalink
ci: remove special character from artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcMcIntosh committed May 21, 2024
1 parent 049dd99 commit 32909b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ jobs:
- run: npm run lint
- run: npm run build

- run: |
ARTIFACT_NAME=$(echo ${{ matrix.node-version }} | tr -cd '[:alnum:]')
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: dist-${{ matrix.node-version }}
name: dist-${ARTIFACT_NAME}
if-no-files-found: ignore
path: ./dist

0 comments on commit 32909b5

Please sign in to comment.