remove ccache, bazel don't use

This commit is contained in:
weishu
2024-03-16 10:32:21 +08:00
parent f675ce9aba
commit 383f164453

View File

@@ -38,10 +38,6 @@ jobs:
build: build:
name: Build ${{ inputs.version_name }} name: Build ${{ inputs.version_name }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
CCACHE_COMPILERCHECK: "%compiler% -dumpmachine; %compiler% -dumpversion"
CCACHE_NOHASHDIR: "true"
CCACHE_HARDLINK: "true"
steps: steps:
- name: Maximize build space - name: Maximize build space
uses: easimon/maximize-build-space@master uses: easimon/maximize-build-space@master
@@ -107,14 +103,6 @@ jobs:
echo "VERSION: $VERSION" echo "VERSION: $VERSION"
echo "kernelsu_version=$VERSION" >> $GITHUB_ENV echo "kernelsu_version=$VERSION" >> $GITHUB_ENV
- name: Setup ccache
if: inputs.use_cache == true
uses: hendrikmuhs/ccache-action@v1.2
with:
key: gki-kernel-${{ inputs.arch }}-avd-${{ inputs.version_name }}
max-size: 2G
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
- name: Make working directory clean to avoid dirty - name: Make working directory clean to avoid dirty
working-directory: android-kernel working-directory: android-kernel
run: | run: |