Skip to content

Commit

Permalink
use sccache
Browse files Browse the repository at this point in the history
  • Loading branch information
cordx56 committed Jan 22, 2025
1 parent 6580e8f commit f1001f0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4

- uses: mozilla-actions/sccache-action@v0.0.7
- uses: actions/checkout@v4
with:
repository: cordx56/secret-dotfiles
path: secret-dotfiles
- run: |
cat secret-dotfiles/env/sccache >> $GITHUB_ENV
echo RUSTC_WRAPPER=sccache >> $GITHUB_ENV
- uses: pnpm/action-setup@v4
with:
version: 9
Expand All @@ -27,6 +37,16 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4

- uses: mozilla-actions/sccache-action@v0.0.7
- uses: actions/checkout@v4
with:
repository: cordx56/secret-dotfiles
path: secret-dotfiles
- run: |
cat secret-dotfiles/env/sccache >> $GITHUB_ENV
echo RUSTC_WRAPPER=sccache >> $GITHUB_ENV
- uses: pnpm/action-setup@v4
with:
version: 9
Expand Down

0 comments on commit f1001f0

Please sign in to comment.