Set up different step for windows when installing packer in workflow
parent
dcb815e2d8
commit
df82f8f362
|
@ -23,9 +23,13 @@ jobs:
|
|||
with:
|
||||
neovim: true
|
||||
- name: Install packer
|
||||
if: ${{ matrix.platform != 'windows-latest' }}
|
||||
run: |
|
||||
NVIM_HOME=$(printf "luado return vim.fn.stdpath(\"data\")\n%%print\n" | nvim -es)
|
||||
git clone https://github.com/wbthomason/packer.nvim $NVIM_HOME/site/pack/packer/start/packer.nvim
|
||||
git clone https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
||||
- name: Install packer on Windows
|
||||
if: ${{ matrix.platform == 'windows-latest' }}
|
||||
run: |
|
||||
git clone https://github.com/wbthomason/packer.nvim "$env:LOCALAPPDATA\nvim-data\site\pack\packer\start\packer.nvim"
|
||||
- name: Run neovim checks
|
||||
run: make check_neovim
|
||||
env:
|
||||
|
|
Loading…
Reference in New Issue