mirror of https://github.com/xemu-project/xemu.git
ci: Don't use /tmp with cache@v3 on macOS
This commit is contained in:
parent
929f035933
commit
92b62d942f
|
@ -253,13 +253,13 @@ jobs:
|
|||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
/tmp/xemu-ccache
|
||||
xemu-ccache
|
||||
macos-pkgs
|
||||
key: cache-${{ runner.os }}-${{ matrix.arch }}-${{ matrix.configuration }}-${{ github.sha }}
|
||||
restore-keys: cache-${{ runner.os }}-${{ matrix.arch }}-${{ matrix.configuration }}-
|
||||
- name: Compile
|
||||
run: |
|
||||
export CCACHE_DIR=/tmp/xemu-ccache
|
||||
export CCACHE_DIR=${GITHUB_WORKSPACE}/xemu-ccache
|
||||
export CCACHE_MAXSIZE=512M
|
||||
export PATH="/usr/local/opt/ccache/libexec:$PATH"
|
||||
ccache -z
|
||||
|
|
Loading…
Reference in New Issue