summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-11-18 20:14:32 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-11-18 20:14:32 +0100
commit8dbf159ca6b6e6b1a3fd6cfeacae32a30d7c1dd6 (patch)
treeba0df40526dc014b0ecd5d200757faefdd57268c /.github
parentad9c2f73dba3d6b99b5fc889951746217bb2f33f (diff)
GitHub Actions: Update ccache configuration
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8823c65bbb..3aff7eaf07 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -57,14 +57,12 @@ jobs:
run: mkdir cmake_build
- name: Set up ccache cache
uses: actions/cache@v2
- env:
- cache-name: ccache
with:
- path: .cache/ccache
- key: ${{ env.cache-name }}-${{ runner.os }}-${{ github.head_ref }}-${{ github.run_number }}
+ path: ~/.ccache
+ key: ${{ runner.os }}-ccache-${{ github.head_ref }}-${{ github.run_number }}
restore-keys: |
- ${{ env.cache-name }}-${{ runner.os }}-${{ github.head_ref }}
- ${{ env.cache-name }}-${{ runner.os }}
+ ${{ runner.os }}-ccache-${{ github.head_ref }}
+ ${{ runner.os }}-ccache
- name: Configure
# TODO for Ubuntu Focal: Replace "-DFAAD=ON" with "-DFFMPEG=ON"
run: |