Skip to content

Commit

Permalink
Increase sccache hit rate
Browse files Browse the repository at this point in the history
  • Loading branch information
yujincheng08 committed Jun 8, 2023
1 parent 5e2ef1b commit e8b30b5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
env:
NDK_CCACHE: sccache
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: true
CARGO_INCREMENTAL: 0

steps:
- name: Check out
Expand All @@ -48,7 +46,11 @@ jobs:
python-version: "3.x"

- name: Set up sccache
uses: mozilla-actions/sccache-action@v0.0.3
uses: hendrikmuhs/ccache-action@v1.2
with:
variant: sccache
key: ${{ runner.os }}-${{ github.sha }}
restore-keys: ${{ runner.os }}

- name: Cache Gradle dependencies
uses: actions/cache@v3
Expand Down

0 comments on commit e8b30b5

Please sign in to comment.