diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-11-20 19:27:34 +0100 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-11-21 01:54:59 +0100 |
commit | 627d567e849b42eb212ceed508ec3b127d435349 (patch) | |
tree | fef1a21b1105876a42191b6f938f12a29d261435 /.github/workflows | |
parent | 2f1dbe31fbf5574b7d3fe252a7366ef5316781ae (diff) |
GitHub Actions: Use matrix.os in ccache cache key
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b9ca24693e..5be8792cd6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -138,10 +138,10 @@ jobs: uses: actions/cache@v2 with: path: ${{ matrix.ccache_path }} - key: ${{ runner.os }}-ccache-${{ github.head_ref }}-${{ github.run_number }} + key: ${{ matrix.os }}-ccache-${{ github.head_ref }}-${{ github.run_number }} restore-keys: | - ${{ runner.os }}-ccache-${{ github.head_ref }} - ${{ runner.os }}-ccache + ${{ matrix.os }}-ccache-${{ github.head_ref }} + ${{ matrix.os }}-ccache - name: "Create build directory" run: mkdir cmake_build |