Skip to content

Commit 8a2ee9f

Browse files
committed
okay so let's just not unset nvm_dir, make sure the dir exists, then try to install and see what error we get. all these commits should get squashed anyway.
Signed-off-by: Jeffrey Sica <me@jeefy.dev>
1 parent b798f58 commit 8a2ee9f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ci/cloudrunners/oci/main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,7 @@ func run(cmd *cobra.Command, argv []string) error {
142142
commands := []string{
143143
"tar -zxf /opt/runner-cache/actions-runner-linux-*.tar.gz",
144144
"rm -rf \\$HOME",
145-
"rm -rf ~/.nvm",
146-
"unset NVM_DIR",
145+
"mkdir -p ~/.nvm",
147146
"wget -O nvm-install.sh https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh",
148147
"bash nvm-install.sh",
149148
`sudo usermod -aG docker ubuntu && newgrp docker <<EOF

0 commit comments

Comments
 (0)