diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index 3fbbff1..96c8ba5 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -31,6 +31,7 @@ jobs: wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash echo "::add-path::$HOME/.nvm" export PATH="$HOME/.nvm:$PATH" + export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> ~/.bashrc echo "$HOME/.nvm" >> $GITHUB_PATH