From 77fe45968c060847085dbd89f1d0e1536ce9b79d Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Fri, 21 Jan 2022 20:25:30 +0100 Subject: ci: fix cache path on Windows --- .github/workflows/tests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.github/workflows/tests.yml') diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e2e6e26df..03644bc24 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -55,8 +55,10 @@ jobs: id: parsers-cache uses: actions/cache@v2 with: - path: ./parser/ - key: ${{ matrix.os }}-parsers-v1-${{ hashFiles('./lockfile.json', './lua/nvim-treesitter/parsers.lua', './lua/nvim-treesitter/install.lua', './lua/nvim-treesitter/shell_selectors.lua') }} + path: | + ./parser/ + ~/AppData/Local/nvim/pack/nvim-treesitter/start/nvim-treesitter/parser/ + key: ${{ matrix.os }}-${{ matrix.cc }}-${{ matrix.nvim_tag }}-parsers-v1-${{ hashFiles('./lockfile.json', './lua/nvim-treesitter/parsers.lua', './lua/nvim-treesitter/install.lua', './lua/nvim-treesitter/shell_selectors.lua') }} - name: ccache if: matrix.os != 'windows-2022' -- cgit v1.2.3-70-g09d2