summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-01-21 20:25:30 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-01-21 22:06:17 +0100
commit77fe45968c060847085dbd89f1d0e1536ce9b79d (patch)
tree89912de97bbec27f11291f392f1f35a3c22e5d99
parent3372bfbcf2c5e9eb908ffd21050b375b3000fbe3 (diff)
ci: fix cache path on Windows
-rw-r--r--.github/workflows/check-query-files-and-compilation.yml6
-rw-r--r--.github/workflows/tests.yml6
2 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/check-query-files-and-compilation.yml b/.github/workflows/check-query-files-and-compilation.yml
index fb1a8e27..c1f3d0de 100644
--- a/.github/workflows/check-query-files-and-compilation.yml
+++ b/.github/workflows/check-query-files-and-compilation.yml
@@ -60,8 +60,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'
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index e2e6e26d..03644bc2 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'