cache build cache

This commit is contained in:
ruki
2025-01-15 00:58:15 +08:00
Unverified
parent 993d6256e9
commit 5ac639794f
9 changed files with 87748 additions and 35 deletions
+8 -1
View File
@@ -74,6 +74,14 @@ with:
### Cache build
By default, xmake disables build cache when building on ci, so we need to enable it first.
```bash
$ xmake f --policies=build.ccache:y
```
And xmake v2.9.8 will enable it by default if action/build-cache is enabled.
```yml
uses: xmake-io/github-action-setup-xmake@v1
with:
@@ -84,7 +92,6 @@ with:
Cache build with the specific build path.
```yml
uses: xmake-io/github-action-setup-xmake@v1
with: