make sccache use repo vars

This commit is contained in:
Kae 2024-03-17 23:44:35 +11:00
parent 5dbbc2b60a
commit 9a48cd8dba
3 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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