添加 .gitea/workflows/l4-cache.yaml
l4-cache / cache (push) Has been cancelled

This commit is contained in:
ztm
2026-07-09 06:52:10 +00:00
parent 509b84dc7a
commit 152b5102a5
+14
View File
@@ -0,0 +1,14 @@
name: l4-cache
on: [push]
jobs:
cache:
runs-on: docker
steps:
- name: 写入待缓存内容
run: mkdir -p /tmp/testcache && date > /tmp/testcache/stamp
- uses: actions/cache@v4
with:
path: /tmp/testcache
key: cache-test-fixed-key
- name: 查看缓存内容
run: cat /tmp/testcache/stamp || echo "cache miss"