cache build cache

This commit is contained in:
ruki
2025-01-14 23:23:52 +08:00
Unverified
parent 61d3bded6f
commit 993d6256e9
6 changed files with 94 additions and 87576 deletions
+13 -2
View File
@@ -68,7 +68,7 @@ with:
uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: '2.9.7'
package-cache-folder: '.xmake-package-cache'
package-cache: true
package-cache-key: 'archlinux-ci'
```
@@ -78,10 +78,21 @@ with:
uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: '2.9.7'
build-cache-folder: '.xmake-build-cache'
build-cache: true
build-cache-key: 'archlinux-ci'
```
Cache build with the specific build path.
```yml
uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: '2.9.7'
build-cache: true
build-cache-path: 'build/.build_cache'
```
## Contributing
### Prepare development environment