Commit 9bf835e8 authored by LoveSy's avatar LoveSy Committed by John Wu

Fix ccache

parent eca37bce
......@@ -15,3 +15,5 @@ case $OS in
unzip -j ccache-*-windows-64.zip '*/ccache.exe'
;;
esac
mkdir ./.ccache
./ccache -o compiler_check='%compiler% -dumpmachine; %compiler% -dumpversion'
......@@ -25,7 +25,7 @@ jobs:
os: [ ubuntu-latest, windows-latest, macos-latest ]
env:
NDK_CCACHE: ${{ github.workspace }}/ccache
CCACHE_DIR: ~/.ccache
CCACHE_DIR: ${{ github.workspace }}/.ccache
steps:
- name: Check out
......@@ -61,7 +61,7 @@ jobs:
uses: actions/cache@v2
with:
path: |
~/.ccache
${{ github.workspace }}/.ccache
~/.gradle/caches/build-cache-*
key: ${{ runner.os }}-build-cache-${{ github.sha }}
restore-keys: ${{ runner.os }}-build-cache-
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment