From a31fd8098cf402f9a4401a3d7c9755aa08241ea2 Mon Sep 17 00:00:00 2001 From: joshsiv-mulga Date: Wed, 13 May 2026 14:25:33 +1000 Subject: [PATCH] fix(ci): use sudo to clean workspace so root-owned rootfs cache is removed The build-rootfs step creates root-owned files in the workspace; a plain rm -rf fails with permission denied on the next run's Clean Workspace step. --- .github/workflows/e2e-baremetal.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e-baremetal.yml b/.github/workflows/e2e-baremetal.yml index e3d886216..2647f4d74 100644 --- a/.github/workflows/e2e-baremetal.yml +++ b/.github/workflows/e2e-baremetal.yml @@ -22,7 +22,7 @@ jobs: BM_ISO_CACHE: /var/cache/spinifex-iso-builder steps: - name: Clean Workspace - run: rm -rf "$GITHUB_WORKSPACE"/* + run: sudo rm -rf "$GITHUB_WORKSPACE"/* - uses: actions/checkout@v6