add cache key

This commit is contained in:
ruki
2022-11-30 22:31:45 +08:00
Unverified
parent f8107700be
commit f7b19c868b
4 changed files with 23 additions and 2 deletions
+10
View File
@@ -52,6 +52,16 @@ with:
actions-cache-folder: '.xmake-cache'
```
Use action cache with cachekey:
```yml
uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: '2.7.2'
actions-cache-folder: '.xmake-cache'
actions-cache-key: 'archlinux-ci'
```
## Contributing
### Prepare development environment