Skip to content

Commit

Permalink
Try to use mozilla-actions/sccache-action to speed up release
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Nov 24, 2023
1 parent de94558 commit 895b98b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ defaults:
run:
shell: bash

env:
RUSTC_WRAPPER: 'sccache'
SCCACHE_GHA_ENABLED: 'true'

jobs:
standard:
name: Std
Expand Down Expand Up @@ -81,6 +85,9 @@ jobs:
run: |
echo "targets = ['${{matrix.target}}']" >> rust-toolchain.toml
- name: Run sccache-cache
uses: mozilla-actions/[email protected]

- name: Setup Rust toolchain and cache
uses: actions-rust-lang/[email protected]
# WARN: Keep the rustflags to prevent from the winget submission error: `CAQuietExec: Error 0xc0000135`
Expand Down Expand Up @@ -172,6 +179,9 @@ jobs:
run: |
echo "targets = ['${{matrix.target}}']" >> rust-toolchain.toml
- name: Run sccache-cache
uses: mozilla-actions/[email protected]

- name: Setup Rust toolchain and cache
uses: actions-rust-lang/[email protected]
# WARN: Keep the rustflags to prevent from the winget submission error: `CAQuietExec: Error 0xc0000135`
Expand Down

0 comments on commit 895b98b

Please sign in to comment.