mirror of
https://github.com/mozilla-actions/sccache-action
synced 2026-09-14 20:13:56 +00:00
Improvement of the doc
This commit is contained in:
@@ -8,16 +8,21 @@ The [sccache](https://github.com/mozilla/sccache/
|
|||||||
|
|
||||||
Just copy and paste the following in your GitHub action:
|
Just copy and paste the following in your GitHub action:
|
||||||
|
|
||||||
|
### Specify a given version of sccache
|
||||||
|
|
||||||
```
|
```
|
||||||
# Specify a given version of sccache
|
|
||||||
- name: Run sccache-cache
|
- name: Run sccache-cache
|
||||||
uses: mozilla-actions/sccache-action@v0.0.2
|
uses: mozilla-actions/sccache-action@v0.0.2
|
||||||
with:
|
with:
|
||||||
version: "v0.4.0-pre.9"
|
version: "v0.4.0-pre.9"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### To get the execution stats
|
||||||
|
|
||||||
|
Note that using the previous declaration will automatically create a
|
||||||
|
`Post Run sccache-cache` task.
|
||||||
|
|
||||||
```
|
```
|
||||||
# To get the execution stats
|
|
||||||
- name: Run sccache stat for check
|
- name: Run sccache stat for check
|
||||||
shell: bash
|
shell: bash
|
||||||
run: ${SCCACHE_PATH} --show-stats
|
run: ${SCCACHE_PATH} --show-stats
|
||||||
|
|||||||
Reference in New Issue
Block a user