[CI] Cache for actions

This commit is contained in:
Yunfan Li
2024-06-10 00:43:21 +08:00
parent 6b29180340
commit 53123a88ee
3 changed files with 49 additions and 68 deletions

View File

@@ -26,8 +26,14 @@ jobs:
with:
repository: 'liyunfan1223/mod-playerbots'
path: 'modules/mod-playerbots'
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2.9
- name: Cache
uses: actions/cache@v3
with:
path: C:\ProgramData\chocolatey\cache
key: ccache:${{ matrix.os }}:${{ github.ref }}:${{ github.sha }}
restore-keys: |
ccache:${{ matrix.os }}:${{ github.ref }}
ccache:${{ matrix.os }}
- name: Configure OS
shell: bash
env: