1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-14 02:07:58 +08:00

ci(nvim): update nvim nightly tag link

This commit is contained in:
Eric Wong 2025-02-03 22:22:53 +08:00
parent 40f686cc3a
commit 6fe1b667dd
No known key found for this signature in database
GPG Key ID: 41BB7053E835C848

View File

@ -37,7 +37,11 @@ install_nvim() {
local tmp="$(mktemp -d)" local tmp="$(mktemp -d)"
local out="${DEPS}/_neovim/$tag" local out="${DEPS}/_neovim/$tag"
mkdir -p $out mkdir -p $out
curl -o $tmp/nvim-linux64.tar.gz -L "https://github.com/neovim/neovim/releases/download/$tag/nvim-linux64.tar.gz" if [[ $tab == "nightly" ]]; then
curl -o $tmp/nvim-linux64.tar.gz -L "https://github.com/neovim/neovim/releases/download/$tag/nvim-linux-x86_64.gz"
else
curl -o $tmp/nvim-linux64.tar.gz -L "https://github.com/neovim/neovim/releases/download/$tag/nvim-linux64.tar.gz"
fi
tar -xzvf $tmp/nvim-linux64.tar.gz -C $tmp tar -xzvf $tmp/nvim-linux64.tar.gz -C $tmp
cp -r $tmp/nvim-linux64/* $out cp -r $tmp/nvim-linux64/* $out
chmod +x $out/bin/nvim chmod +x $out/bin/nvim