Improvement of the doc

This commit is contained in:
Sylvestre Ledru
2023-03-09 08:14:58 +01:00
parent 8c0ea93975
commit 232a105d2d
+7 -2
View File
@@ -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