fix: install.sh
delete artifacts after install nvim and go
This commit is contained in:
parent
ed887c236b
commit
cec33891b3
1 changed files with 2 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
|
||||||
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz
|
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz
|
||||||
sudo rm -rf /opt/nvim
|
sudo rm -rf /opt/nvim
|
||||||
sudo tar -C /opt -xzf nvim-linux64.tar.gz
|
sudo tar -C /opt -xzf nvim-linux64.tar.gz
|
||||||
|
sudo rm nvim-linux64.tar.gz
|
||||||
|
|
||||||
# go
|
# go
|
||||||
if [ -z "$GO_VERSION" ]
|
if [ -z "$GO_VERSION" ]
|
||||||
|
|
@ -15,4 +16,4 @@ fi
|
||||||
|
|
||||||
curl -LO https://go.dev/dl/go$GO_VERSION.linux-amd64.tar.gz
|
curl -LO https://go.dev/dl/go$GO_VERSION.linux-amd64.tar.gz
|
||||||
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz
|
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz
|
||||||
|
sudo rm go$GO_VERSION.linux-amd64.tar.gz
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue