From 9a2212d691f54ec204bf4b6a62d76e66039f5597 Mon Sep 17 00:00:00 2001 From: datadunia Date: Wed, 17 Jun 2026 13:54:58 +0700 Subject: [PATCH] revert(ci): remove actions/cache@v4 - hangs on act_runner v0.6.1 actions/cache@v4 not compatible with self-hosted act_runner. Builds complete in 3-5min without cache - acceptable. --- .gitea/workflows/build_dashboard.yaml | 6 ------ .gitea/workflows/build_device_agent.yaml | 8 -------- .gitea/workflows/build_server_core.yaml | 8 -------- 3 files changed, 22 deletions(-) diff --git a/.gitea/workflows/build_dashboard.yaml b/.gitea/workflows/build_dashboard.yaml index 334afd5..096bed4 100644 --- a/.gitea/workflows/build_dashboard.yaml +++ b/.gitea/workflows/build_dashboard.yaml @@ -21,12 +21,6 @@ jobs: with: node-version: '24' - - uses: actions/cache@v4 - with: - path: ~/.npm - key: dashboard-npm-${{ hashFiles('apps/dashboard-ui/package-lock.json') }} - restore-keys: dashboard-npm- - - name: Install working-directory: apps/dashboard-ui run: npm ci || npm install diff --git a/.gitea/workflows/build_device_agent.yaml b/.gitea/workflows/build_device_agent.yaml index 044213c..2452eff 100644 --- a/.gitea/workflows/build_device_agent.yaml +++ b/.gitea/workflows/build_device_agent.yaml @@ -21,14 +21,6 @@ jobs: with: go-version: '1.26' - - uses: actions/cache@v4 - with: - path: | - ~/go/pkg/mod - ~/.cache/go-build - key: device-agent-go-${{ hashFiles('apps/device-agent/go.sum') }} - restore-keys: device-agent-go- - - name: Build all platforms working-directory: apps/device-agent shell: bash diff --git a/.gitea/workflows/build_server_core.yaml b/.gitea/workflows/build_server_core.yaml index 4b736d8..d116864 100644 --- a/.gitea/workflows/build_server_core.yaml +++ b/.gitea/workflows/build_server_core.yaml @@ -21,14 +21,6 @@ jobs: with: go-version: '1.26' - - uses: actions/cache@v4 - with: - path: | - ~/go/pkg/mod - ~/.cache/go-build - key: server-core-go-${{ hashFiles('apps/server-core/go.sum') }} - restore-keys: server-core-go- - - name: Download Go modules working-directory: apps/server-core run: go mod download