Skip to content

Commit

Permalink
build: sanitize node version
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielku15 committed Aug 11, 2024
1 parent 1cfc828 commit 29ec630
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/~node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,14 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: node -e "console.log(process)"
- run: ./build.cmd NodeTest
- id: sanitize-node-version
if: always()
run: echo "NODE_VERSION=${{ matrix.node }}" | sed 's/[*\/]//g' >> "$GITHUB_OUTPUT"
shell: bash
- uses: actions/upload-artifact@v3
if: always()
with:
name: nodetest-${{ matrix.runs-on }}-${{ matrix.node }}
name: nodetest-${{ matrix.runs-on }}-${{ steps.sanitize-node-version.outputs.NODE_VERSION }}
path: |
test/test-outputs/**/*.*

0 comments on commit 29ec630

Please sign in to comment.