mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-22 01:53:24 +01:00
Folder ownership for root user
This commit is contained in:
parent
32bb6468e7
commit
ff095307dd
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,9 @@ export HOME="/github/workspace"
|
||||||
export NVM_DIR="/github/workspace/nvm"
|
export NVM_DIR="/github/workspace/nvm"
|
||||||
export WRANGLER_HOME="/github/workspace"
|
export WRANGLER_HOME="/github/workspace"
|
||||||
|
|
||||||
|
mkdir -p "$HOME/.wrangler"
|
||||||
|
chown root: "$HOME/.wrangler"
|
||||||
|
|
||||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
|
|
Loading…
Reference in a new issue