mirror of https://git.tuxpa.in/a/code-server.git
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:
parent
5a6411fa49
commit
609c7ef4ec
|
@ -6,7 +6,7 @@ main() {
|
||||||
|
|
||||||
if [[ $OSTYPE == darwin* ]]; then
|
if [[ $OSTYPE == darwin* ]]; then
|
||||||
curl -L https://nodejs.org/dist/v14.4.0/node-v14.4.0-darwin-x64.tar.gz | tar -xz
|
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
|
fi
|
||||||
|
|
||||||
# https://github.com/actions/upload-artifact/issues/38
|
# https://github.com/actions/upload-artifact/issues/38
|
||||||
|
|
Loading…
Reference in New Issue