mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
[CI] CI cache
This commit is contained in:
9
.github/workflows/core_build.yml
vendored
9
.github/workflows/core_build.yml
vendored
@@ -50,13 +50,12 @@ jobs:
|
|||||||
path: 'modules/mod-playerbots'
|
path: 'modules/mod-playerbots'
|
||||||
|
|
||||||
- name: Cache
|
- name: Cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: ${{ github.workspace }}/var/ccache
|
||||||
/var/cache/apt
|
key: ccache:${{ matrix.os }}:${{ github.ref }}:${{ matrix.c_compiler }}:${{ github.sha }}
|
||||||
/var/lib/apt
|
|
||||||
key: ccache:${{ matrix.os }}:${{ github.ref }}:${{ github.sha }}
|
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
|
ccache:${{ matrix.os }}:${{ github.ref }}:${{ matrix.c_compiler }}
|
||||||
ccache:${{ matrix.os }}:${{ github.ref }}
|
ccache:${{ matrix.os }}:${{ github.ref }}
|
||||||
ccache:${{ matrix.os }}
|
ccache:${{ matrix.os }}
|
||||||
|
|
||||||
|
|||||||
10
.github/workflows/windows_build.yml
vendored
10
.github/workflows/windows_build.yml
vendored
@@ -26,14 +26,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: 'liyunfan1223/mod-playerbots'
|
repository: 'liyunfan1223/mod-playerbots'
|
||||||
path: 'modules/mod-playerbots'
|
path: 'modules/mod-playerbots'
|
||||||
- name: Cache
|
- name: ccache
|
||||||
uses: actions/cache@v3
|
uses: hendrikmuhs/ccache-action@v1.2.13
|
||||||
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
|
- name: Configure OS
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user