mirror of
https://github.com/Mozilla-Actions/sccache-action.git
synced 2026-04-08 17:42:13 +08:00
Document Rust usage
This commit is contained in:
10
README.md
10
README.md
@@ -23,6 +23,16 @@ Just copy and paste the following in your GitHub action:
|
||||
run: ${SCCACHE_PATH} --show-stats
|
||||
```
|
||||
|
||||
### Rust code
|
||||
|
||||
For Rust code, the following environment variables should be set:
|
||||
|
||||
```
|
||||
env:
|
||||
SCCACHE_GHA_ENABLED: "true"
|
||||
RUSTC_WRAPPER: "sccache"
|
||||
```
|
||||
|
||||
## Prepare a new release
|
||||
|
||||
1. Update README.md in the examplee
|
||||
|
||||
Reference in New Issue
Block a user