aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2020-11-13 09:54:55 -0500
committerJames McCoy <jamessan@jamessan.com>2020-11-13 13:36:58 -0500
commitef0d558a3b145a0ad9e60434e97f56383934990c (patch)
treee4c59bbd5d3b32182198542515713da7170b946f
parentf23b906ddd30ccf38a280f70f475550b5c9846c9 (diff)
downloadrneovim-ef0d558a3b145a0ad9e60434e97f56383934990c.tar.gz
rneovim-ef0d558a3b145a0ad9e60434e97f56383934990c.tar.bz2
rneovim-ef0d558a3b145a0ad9e60434e97f56383934990c.zip
GHA: Include ccache output in cache
-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