ci: Don't use /tmp with cache@v3 on macOS

This commit is contained in:
Matt Borgerson 2023-01-13 16:37:44 -07:00 committed by mborgerson
parent 929f035933
commit 92b62d942f
1 changed files with 2 additions and 2 deletions

View File

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