diff --git a/.gitea/workflows/l4-cache.yaml b/.gitea/workflows/l4-cache.yaml new file mode 100644 index 0000000..bb24459 --- /dev/null +++ b/.gitea/workflows/l4-cache.yaml @@ -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" \ No newline at end of file