Fix bad $PATH when building MacOS

The previous release mistakenly distributed the wrong version
of node...

Very sad.

See https://github.com/cdr/code-server/issues/1710#issuecomment-646472716
This commit is contained in:
Anmol Sethi 2020-06-22 00:57:40 -04:00
parent 5a6411fa49
commit 609c7ef4ec
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ main() {
if [[ $OSTYPE == darwin* ]]; then
curl -L https://nodejs.org/dist/v14.4.0/node-v14.4.0-darwin-x64.tar.gz | tar -xz
PATH="$PATH:node-v14.4.0-darwin-x64/bin"
PATH="$PWD/node-v14.4.0-darwin-x64/bin:$PATH"
fi
# https://github.com/actions/upload-artifact/issues/38