Skip to content

Commit 9225c26

Browse files
committed
explicitly state the weird nvm dir because why not
Signed-off-by: Jeffrey Sica <me@jeefy.dev>
1 parent 58b338c commit 9225c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/cloudrunners/oci/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func run(cmd *cobra.Command, argv []string) error {
145145
"mkdir -p \\$HOME/.nvm",
146146
"wget -O nvm-install.sh https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh",
147147
"bash nvm-install.sh",
148-
"export NVM_DIR=\\$HOME/.nvm",
148+
"export NVM_DIR=/home/ubuntu/\\$HOME/.nvm",
149149
`sudo usermod -aG docker ubuntu && newgrp docker <<EOF
150150
export PATH=$PATH:/home/ubuntu/.local/bin && export HOME=/home/ubuntu && bash -x /home/ubuntu/run.sh --jitconfig "${ACTIONS_RUNNER_INPUT_JITCONFIG}"
151151
EOF`,

0 commit comments

Comments
 (0)