diff --git a/.gitea/workflows/build_device_agent.yaml b/.gitea/workflows/build_device_agent.yaml index 24dbec5..d275e04 100644 --- a/.gitea/workflows/build_device_agent.yaml +++ b/.gitea/workflows/build_device_agent.yaml @@ -22,6 +22,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: '1.26' + cache: false - uses: https://gitea.com/actions/go-hashfiles@v0.0.1 id: hash-go @@ -33,6 +34,7 @@ jobs: - uses: actions/cache@v3 with: path: | + /toolcache/go /root/go/pkg/mod /root/.cache/go-build key: go-device-agent-${{ steps.hash-go.outputs.hash }} diff --git a/.gitea/workflows/build_server_core.yaml b/.gitea/workflows/build_server_core.yaml index 50ffa69..a230d46 100644 --- a/.gitea/workflows/build_server_core.yaml +++ b/.gitea/workflows/build_server_core.yaml @@ -22,6 +22,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: '1.26' + cache: false - uses: https://gitea.com/actions/go-hashfiles@v0.0.1 id: hash-go @@ -33,6 +34,7 @@ jobs: - uses: actions/cache@v3 with: path: | + /toolcache/go /root/go/pkg/mod /root/.cache/go-build key: go-server-core-${{ steps.hash-go.outputs.hash }}