File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
- PLUGINS=" $HOME /.local/share/nvim/site/pack/plugins/start"
4
- mkdir -p " $PLUGINS "
5
-
6
- wget " https://github.com/neovim/neovim/releases/download/${NVIM_TAG-stable} /nvim.appimage"
3
+ version=" ${NVIM_TAG-stable} "
4
+ dl_name=" nvim-linux-x86_64.appimage"
5
+ # The appimage name changed in v0.10.4
6
+ if python -c ' from packaging.version import Version; import sys; sys.exit(not (Version(sys.argv[1]) < Version("v0.10.4")))' " $version " 2> /dev/null; then
7
+ dl_name=" nvim.appimage"
8
+ fi
9
+ curl -sL " https://github.com/neovim/neovim/releases/download/${version} /${dl_name} " -o nvim.appimage
7
10
chmod +x nvim.appimage
8
11
./nvim.appimage --appimage-extract > /dev/null
9
12
rm -f nvim.appimage
10
13
mkdir -p ~ /.local/share/nvim
11
14
mv squashfs-root ~ /.local/share/nvim/appimage
12
15
sudo ln -s " $HOME /.local/share/nvim/appimage/AppRun" /usr/bin/nvim
16
+ /usr/bin/nvim --version
Original file line number Diff line number Diff line change 54
54
- v0.8.3
55
55
- v0.9.4
56
56
- v0.10.0
57
+ - v0.10.4
57
58
58
59
name : Run tests
59
60
runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments