[CI] CI cache

This commit is contained in:
Yunfan Li
2024-07-26 13:07:31 +08:00
parent 966c8e652b
commit b2c5885050
2 changed files with 6 additions and 13 deletions

View File

@@ -50,13 +50,12 @@ jobs:
path: 'modules/mod-playerbots'
- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
/var/cache/apt
/var/lib/apt
key: ccache:${{ matrix.os }}:${{ github.ref }}:${{ github.sha }}
path: ${{ github.workspace }}/var/ccache
key: ccache:${{ matrix.os }}:${{ github.ref }}:${{ matrix.c_compiler }}:${{ github.sha }}
restore-keys: |
ccache:${{ matrix.os }}:${{ github.ref }}:${{ matrix.c_compiler }}
ccache:${{ matrix.os }}:${{ github.ref }}
ccache:${{ matrix.os }}