We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcb7606 commit 62203ccCopy full SHA for 62203cc
1 file changed
main.sh
@@ -14,6 +14,11 @@ if [[ $RUNNER_OS == Windows ]]; then
14
npm config set script-shell "$old_script_shell"
15
nvm use "$old_node_version"
16
else
17
- curl -fsSL https://code-server.dev/install.sh | sh -s -- \
18
- --prefix=/usr/local --version "$INPUT_CODE_SERVER_VERSION"
+ if [[ $INPUT_CODE_SERVER_VERSION == latest]]; then
+ curl -fsSL https://code-server.dev/install.sh | sh -s -- \
19
+ --prefix=/usr/local
20
+ else
21
22
+ --prefix=/usr/local --version "$INPUT_CODE_SERVER_VERSION"
23
+ fi
24
fi
0 commit comments