make sccache use repo vars
This commit is contained in:
parent
5dbbc2b60a
commit
9a48cd8dba
3
.github/workflows/build_linux.yml
vendored
3
.github/workflows/build_linux.yml
vendored
@ -32,7 +32,8 @@ jobs:
|
||||
with:
|
||||
variant: sccache
|
||||
key: ${{ github.job }}-${{ runner.os }}
|
||||
max-size: 2500M
|
||||
max-size: ${{ vars.SCCACHE_MAX_SIZE }}
|
||||
restore: ${{ vars.SCCACHE_RESTORE }}
|
||||
|
||||
- name: vcpkg
|
||||
uses: lukka/run-vcpkg@v11
|
||||
|
6
.github/workflows/build_macos.yml
vendored
6
.github/workflows/build_macos.yml
vendored
@ -29,7 +29,8 @@ jobs:
|
||||
with:
|
||||
variant: sccache
|
||||
key: ${{ github.job }}-Intel-${{ runner.os }}
|
||||
max-size: 2500M
|
||||
max-size: ${{ vars.SCCACHE_MAX_SIZE }}
|
||||
restore: ${{ vars.SCCACHE_RESTORE }}
|
||||
|
||||
- name: vcpkg
|
||||
uses: lukka/run-vcpkg@v11
|
||||
@ -69,7 +70,8 @@ jobs:
|
||||
with:
|
||||
variant: sccache
|
||||
key: ${{ github.job }}-ARM-${{ runner.os }}
|
||||
max-size: 2500M
|
||||
max-size: ${{ vars.SCCACHE_MAX_SIZE }}
|
||||
restore: ${{ vars.SCCACHE_RESTORE }}
|
||||
|
||||
- name: vcpkg
|
||||
uses: lukka/run-vcpkg@v11
|
||||
|
3
.github/workflows/build_windows.yml
vendored
3
.github/workflows/build_windows.yml
vendored
@ -32,7 +32,8 @@ jobs:
|
||||
with:
|
||||
variant: sccache
|
||||
key: ${{ github.job }}-${{ runner.os }}
|
||||
max-size: 2500M
|
||||
max-size: ${{ vars.SCCACHE_MAX_SIZE }}
|
||||
restore: ${{ vars.SCCACHE_RESTORE }}
|
||||
|
||||
- uses: ilammy/msvc-dev-cmd@v1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user