mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
ci: fix cache path on Windows
This commit is contained in:
parent
3372bfbcf2
commit
77fe45968c
2 changed files with 8 additions and 4 deletions
|
|
@ -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'
|
||||
|
|
|
|||
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue