chore(ci): update build root ownership permissions
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:
@@ -212,7 +212,7 @@ jobs:
|
||||
cp -a . "$BUILD_ROOT/source"
|
||||
|
||||
useradd --create-home builder
|
||||
chown -R builder:builder "$BUILD_ROOT/source"
|
||||
chown -R builder:builder "$BUILD_ROOT"
|
||||
|
||||
runuser -u builder -- \
|
||||
bash -lc "cd '$BUILD_ROOT/source' && makepkg --cleanbuild --noconfirm"
|
||||
|
||||
Reference in New Issue
Block a user