chore(ci): update build root ownership permissions
publish / Build and publish Arch package (release) Failing after 1m25s
publish / publish-tauri (nsis, , windows-latest, windows-x86_64) (release) Canceled after 0s
publish / publish-tauri (appimage, 1, ubuntu-22.04, linux-x86_64) (release) Canceled after 7m5s

The workflow script responsible for application building is updated to adjust file ownership. Previously, ownership was restricted only to the source directory. By changing the scope to the entire build root, we ensure that all generated files and intermediate artifacts are correctly owned by the builder user before running makepkg.
This commit is contained in:
2026-07-23 17:10:08 +02:00
parent f7793bc908
commit 2b88e5a189
+1 -1
View File
@@ -212,7 +212,7 @@ jobs:
cp -a . "$BUILD_ROOT/source" cp -a . "$BUILD_ROOT/source"
useradd --create-home builder useradd --create-home builder
chown -R builder:builder "$BUILD_ROOT/source" chown -R builder:builder "$BUILD_ROOT"
runuser -u builder -- \ runuser -u builder -- \
bash -lc "cd '$BUILD_ROOT/source' && makepkg --cleanbuild --noconfirm" bash -lc "cd '$BUILD_ROOT/source' && makepkg --cleanbuild --noconfirm"