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.
This commit is contained in:
joshsiv-mulga
2026-05-13 14:25:33 +10:00
parent c19f823d1e
commit a31fd8098c
+1 -1
View File
@@ -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