Skip to content

Commit

Permalink
ci: fix the artefact name
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcMcIntosh committed May 21, 2024
1 parent 100fd78 commit b23f353
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,15 @@ jobs:
- run: npm run lint
- run: npm run build

- run: |
name=$(echo -n "${{ matrix.node-version }}" | tr -cd '[[:alnum:]]')
echo "ARTIFACT_NAME=$name" >> $GITHUB_ENV
- name: Upload artifacts
uses: actions/upload-artifact@v4

with:
name: refact-chat-js
name: refact-chat-js-${{ env.ARTIFACT_NAME }}
if-no-files-found: ignore
overwite: true
path: ./dist

0 comments on commit b23f353

Please sign in to comment.