Skip to content

Commit

Permalink
chore: CI: cache sccache dir (#248)
Browse files Browse the repository at this point in the history
* update CI

* fix type: `sccahe` -> `sccache`
  • Loading branch information
kanarus authored Aug 20, 2024
1 parent 9767c65 commit 98dc5fe
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,13 @@ jobs:
echo '[build]' >> $HOME/.cargo/config.toml
echo "rustc-wrapper = \"$HOME/.cargo/bin/sccache\"" >> $HOME/.cargo/config.toml
cat $HOME/.cargo/config.toml
- name: Cache sccahe dir
id: cahce_sccahe_dir
uses: actions/cache@v3
with:
key: ${{ runner.os }}-sccahe-dir
path: ~/.cache/sccache

- name: Run tasks
run: |
sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
Expand Down

0 comments on commit 98dc5fe

Please sign in to comment.