Skip to content

Commit

Permalink
CI: Try to overwrite node executable directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Simran-B authored Dec 4, 2024
1 parent 31692a0 commit dc50106
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,10 @@ jobs:

steps:
- name: Install Node.js 16
id: node16
run: |
$DOWNLOAD_TOOL https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.xz
tar -xf node-v16.20.2-linux-x64.tar.xz
PATH="$(pwd)/node-v16.20.2-linux-x64/bin:$PATH"
node --version
echo "path=${PATH}" >> $GITHUB_OUTPUT
cp -af ./node-v16.20.2-linux-x64/bin/node /__e/node20/bin/node
- name: Checkout Source Code
env:
Expand Down Expand Up @@ -145,8 +142,6 @@ jobs:
echo "artifact=${basename/x86_64/Linux-x86_64-${{ matrix.cc-compiler }}}" >> $GITHUB_OUTPUT
- name: Upload Artifact to GitHub
env:
PATH: ${{ steps.node16.outputs.path }}
uses: actions/upload-artifact@v3
continue-on-error: true
with:
Expand Down

0 comments on commit dc50106

Please sign in to comment.