Keep Homebrew Vim on macOS CI

This commit is contained in:
m1ngsama 2026-05-13 14:31:03 +08:00
parent f05a87cd92
commit 9611f87ef4

View file

@ -18,10 +18,10 @@ jobs:
- name: Install Vim
timeout-minutes: 5
run: |
if command -v vim >/dev/null 2>&1; then
vim --version | head -1
elif [ "$(uname)" = "Darwin" ]; then
if [ "$(uname)" = "Darwin" ]; then
brew install vim
elif command -v vim >/dev/null 2>&1; then
vim --version | head -1
else
sudo apt-get update
sudo apt-get install -y vim