diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d95ab81..1a64c5f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: