From 152b5102a53b8bad5991ee3af7556a3e0b8b569d Mon Sep 17 00:00:00 2001 From: ztm Date: Thu, 9 Jul 2026 06:52:10 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20.gitea/workflows/l4-cache.?= =?UTF-8?q?yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/l4-cache.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitea/workflows/l4-cache.yaml 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