Fix ccache path in .github/workflows/build.yml

This commit is contained in:
klzgrad 2024-03-10 14:08:03 +08:00
parent 8a3cb33639
commit 0d7be6bf4a

View File

@ -130,7 +130,7 @@ jobs:
- name: Cache ccache files
uses: actions/cache@v4
with:
path: ~/.ccache
path: ~/.cache/ccache
key: ccache-linux-${{ matrix.arch }}-${{ hashFiles('CHROMIUM_VERSION') }}-${{ steps.ccache-timestamp.outputs.CCACHE_TIMESTAMP }}
restore-keys: ccache-linux-${{ matrix.arch }}-${{ hashFiles('CHROMIUM_VERSION') }}-
- name: Install APT packages
@ -210,7 +210,7 @@ jobs:
- name: Cache ccache files
uses: actions/cache@v4
with:
path: ~/.ccache
path: ~/.cache/ccache
key: ccache-android-${{ matrix.arch }}-${{ hashFiles('CHROMIUM_VERSION') }}-${{ steps.ccache-timestamp.outputs.CCACHE_TIMESTAMP }}
restore-keys: ccache-android-${{ matrix.arch }}-${{ hashFiles('CHROMIUM_VERSION') }}-
- name: Install APT packages
@ -545,7 +545,7 @@ jobs:
- name: Cache ccache files
uses: actions/cache@v4
with:
path: ~/.ccache
path: ~/.cache/ccache
key: ccache-openwrt-${{ matrix.arch }}-${{ hashFiles('CHROMIUM_VERSION') }}-${{ steps.ccache-timestamp.outputs.CCACHE_TIMESTAMP }}
restore-keys: ccache-openwrt-${{ matrix.arch }}-${{ hashFiles('CHROMIUM_VERSION') }}-
- name: Install APT packages