Skip to content

Commit

Permalink
bring back sccache
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 committed Jul 9, 2024
1 parent a192085 commit 2100fd0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/actions/setup-rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ runs:
save-if: ${{ github.ref_name == 'develop' }}
shared-key: "shared" # To allow reuse across jobs

- name: Rust Compile Cache
uses: mozilla-actions/[email protected]
- name: Rust Compile Cache Config
shell: bash
run: |
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
echo "CARGO_INCREMENTAL=0" >> $GITHUB_ENV
- name: Download flatc
shell: bash
run: |
Expand Down

0 comments on commit 2100fd0

Please sign in to comment.