aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2020-11-13 13:00:15 -0500
committerJames McCoy <jamessan@jamessan.com>2020-11-13 13:38:12 -0500
commitc96acac4d31ce62f1a8696f7ec392f08f473ec91 (patch)
tree98c4f7ac3a961cf87873ca38d6e607777ef601ff
parent25a8385cd13c67deef5ded4c879a8057865caf5b (diff)
downloadrneovim-c96acac4d31ce62f1a8696f7ec392f08f473ec91.tar.gz
rneovim-c96acac4d31ce62f1a8696f7ec392f08f473ec91.tar.bz2
rneovim-c96acac4d31ce62f1a8696f7ec392f08f473ec91.zip
GHA: Invalidate cache if cmake files or third-party/ change
-rw-r--r--.github/workflows/linux.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 053d22e4f7..f72500efe7 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -72,7 +72,7 @@ jobs:
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 }}
+ key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('cmake/*', 'third-party/**', '**/CMakeLists.txt') }}-${{ github.base_ref }}
- name: Build third-party
run: ./ci/before_script.sh
@@ -128,7 +128,7 @@ jobs:
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 }}
+ key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('cmake/*', 'third-party/**', '**/CMakeLists.txt') }}-${{ github.base_ref }}
- name: Build third-party
run: ./ci/before_script.sh