aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/linux.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index dfc485b28b..711fd1abcf 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -69,8 +69,10 @@ jobs:
env:
cache-name: asan-deps
with:
- path: env.CACHE_NVIM_DEPS_DIR
- key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.base_ref }}
+ path: |
+ ${{ env.CACHE_NVIM_DEPS_DIR }}
+ ~/.ccache
+ key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles(format('{0}/**', env.CACHE_NVIM_DEPS_DIR)) }}-${{ github.base_ref }}
- name: Build third-party
run: ./ci/before_script.sh
@@ -119,8 +121,10 @@ jobs:
env:
cache-name: lint-deps
with:
- path: env.CACHE_NVIM_DEPS_DIR
- key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.base_ref }}
+ path: |
+ ${{ env.CACHE_NVIM_DEPS_DIR }}
+ ~/.ccache
+ key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles(format('{0}/**', env.CACHE_NVIM_DEPS_DIR)) }}-${{ github.base_ref }}
- name: Build third-party
run: ./ci/before_script.sh