diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index ad8ad06..804a263 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -11,6 +11,9 @@ jobs: runs-on: gitea_labels container: image: gitea-ci-bash:latest + env: + # 方法一,指定容器将工具缓存路径存放到 /toolcache ,该目录actRunner会默认持久化它 + RUNNER_TOOL_CACHE: /toolcache steps: - name: 检出代码 shell: bash