We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3631fc1 commit 4359e49Copy full SHA for 4359e49
1 file changed
main.sh
@@ -2,8 +2,11 @@
2
set -ex
3
4
if [[ $RUNNER_OS == Windows ]]; then
5
+ echo "There is no official way to run code-server on Windows. Try using "
6
+ echo "'runs-on: ubuntu-latest' if you encounter problems."
7
pushd "$(mktemp -d)"
- export FORCE_NODE_VERSION=18
8
+ npm install -g node-gyp
9
+ export FORCE_NODE_VERSION=$(node -p process.versions.node)
10
old_script_shell=$(npm config get script-shell)
11
npm config set script-shell 'C:\Program Files\Git\bin\bash.exe'
12
npm install --global "code-server@$INPUT_CODE_SERVER_VERSION" --unsafe-perm
0 commit comments