ci: fix ccache cache key

This commit is contained in:
scribam 2021-12-19 09:42:18 +01:00 committed by flyinghead
parent 73fa0e3efc
commit 94fccc5112
1 changed files with 4 additions and 4 deletions

View File

@ -51,16 +51,16 @@ jobs:
- uses: actions/cache@v2 - uses: actions/cache@v2
with: with:
path: /tmp/ccache path: /tmp/ccache
key: ccache-${{ matrix.config.os }}-${{ github.sha }} key: ccache-${{ matrix.config.name }}-${{ github.sha }}
restore-keys: ccache-${{ matrix.config.os }}- restore-keys: ccache-${{ matrix.config.name }}-
if: matrix.config.os != 'windows-latest' if: matrix.config.os != 'windows-latest'
- uses: actions/cache@v2 - uses: actions/cache@v2
id: cache id: cache
with: with:
path: $HOME/ccache path: $HOME/ccache
key: ccache-${{ matrix.config.os }}-${{ github.sha }} key: ccache-${{ matrix.config.name }}-${{ github.sha }}
restore-keys: ccache-${{ matrix.config.os }}- restore-keys: ccache-${{ matrix.config.name }}-
if: matrix.config.os == 'windows-latest' if: matrix.config.os == 'windows-latest'
- name: Download DX2010 - name: Download DX2010