From 674ef7a270fca7f8398b478b4bfaeb1177f30aa1 Mon Sep 17 00:00:00 2001 From: hxt Date: Tue, 8 Jul 2025 21:06:33 +0800 Subject: [PATCH] =?UTF-8?q?ci(drone):=20=E6=B7=BB=E5=8A=A0=20Go=20?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=92=8C=E6=9E=84=E5=BB=BA=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 restore cache 和 rebuild cache 步骤中添加了 go-mod-cache 和 go --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index f4fb8d8..ba79345 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,8 +13,8 @@ steps: settings: restore: true mount: - - go/pkg/mod - - ~/.cache/go-build + - /go/pkg/mod + - /root/.cache/go-build backend: local cache_key: go-mod-cache-${DRONE_BRANCH} @@ -48,8 +48,8 @@ steps: settings: rebuild: true mount: - - go/pkg/mod - - ~/.cache/go-build + - /go/pkg/mod + - /root/.cache/go-build backend: local cache_key: go-mod-cache-${DRONE_BRANCH}