From 1fe72860fbc3a8215eadab087af7573428448b91 Mon Sep 17 00:00:00 2001 From: Dorian Date: Thu, 26 Mar 2026 22:02:43 +0000 Subject: [PATCH] fix: CI chown act cache to prevent false build failure The checkout action post-cleanup fails on root-owned files in the workspace, marking the build as failed even though the ISO was built. Chown the entire act cache dir so cleanup succeeds. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/build-iso.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build-iso.yml b/.gitea/workflows/build-iso.yml index 99576cd9..8547a5a7 100644 --- a/.gitea/workflows/build-iso.yml +++ b/.gitea/workflows/build-iso.yml @@ -108,4 +108,6 @@ jobs: - name: Fix workspace permissions if: always() - run: sudo chown -R $(id -u):$(id -g) . 2>/dev/null || true + run: | + sudo chown -R $(id -u):$(id -g) . 2>/dev/null || true + sudo chown -R $(id -u):$(id -g) "$HOME/.cache/act" 2>/dev/null || true