Update neovim-nightly-test to properly install packer for windows

main
Ensar Sarajčić 2022-04-28 18:07:57 +02:00
parent 8688b4a64b
commit 6bb3a44580
1 changed files with 7 additions and 1 deletions

View File

@ -24,7 +24,13 @@ jobs:
neovim: true neovim: true
version: nightly version: nightly
- name: Install packer - name: Install packer
run: git clone https://github.com/wbthomason/packer.nvim $HOME/.local/share/nvim/site/pack/packer/start/packer.nvim if: ${{ matrix.platform != 'windows-latest' }}
run: |
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 - name: Run neovim checks
run: make check_neovim run: make check_neovim
env: env: