thinca/Setup Vim

Setup Vim environment and add it to PATH

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
vim_versionVersion of Vim. The meaning of this value depends on `vim_type` and `download`. `head` is always head version: When `download` is enabled, this points head release. When `download` is not enabled, this points master of repository. When `download` is enabled and specified a semver such as `v8.2.0000`, this action finds a minimum version that is higher than a specified version. For example: When there are some released versions: `v8.2.0052` `v8.2.0057` `v8.2.0065` And when a specified version is `v8.2.0055`, `v8.2.0057` is actually selected.nohead
vim_typeType of Vim. This is one of `vim`, `neovim`, or `macvim`.novim
guiWhen this is `yes`, setups the GUI version. And `outputs.executable` points to GUI version of Vim.nono
archArchitecture of Vim. This is either of `x86_64` or `x86`, enable when `vim_type` is `vim` on Windows.nox86_64
downloadWhen this is `always`, downloads the officially released binary, or fail if unavailable. When this is `available`, downloads the officially released binary if available, otherwise builds from source code. When this is `never`, always builds from source code.noavailable
cacheWhen this is `true`(default), cache the built Vim. This uses same caching mechanism from actions/cache. Therefore, this consumes the limitation of cache size. https://help.github.com/en/actions/automating-your-workflow-with-github-actions/caching-dependencies-to-speed-up-workflows#usage-limits-and-eviction-policy This is automatically disabled when `download` is enabled.notrue
github_tokenYour GitHub API token to access to releases of repositories without limit. Normally this is automatically set so you do not need set this.no${{ github.token }}
namedescription
executableThe name of executable file. This is not a full path, just name. When `gui` is yes, this points to GUI version. e.g. `vim` `nvim` `gvim`
executable_pathThe full path of executable file.
actual_vim_versionVersion of Vim actually installed. e.g. `v8.2.0123` `v0.4.3`
install_typeInstall was done with `build` or `download`.
install_pathBase path of installed Vim. Note that this does not point to `bin`.
cache_hitWhen `cache` is enabled and cache was found, this is `true`. Otherwise this is `false`.