fix: remove mkdir -p from Alpine cleanup that broke abuild
- Remove mkdir -p /home/builduser/packages/home/x86_64/ that was creating root-owned directories that abuild (running as builduser) couldnt write to - Keep targeted rm -f of stale .apk files only - abuild creates its own output directories with correct ownership
This commit is contained in:
@ -325,7 +325,6 @@ jobs:
|
||||
run: |
|
||||
rm -f releases/linux-patch-api-*.apk 2>/dev/null || true
|
||||
rm -f /home/builduser/packages/home/x86_64/linux-patch-api-*.apk 2>/dev/null || true
|
||||
mkdir -p /home/builduser/packages/home/x86_64/
|
||||
- name: Build Alpine package
|
||||
run: |
|
||||
chmod +x build-alpine.sh
|
||||
|
||||
@ -11,8 +11,6 @@ echo ""
|
||||
# Clean stale packages from previous builds
|
||||
rm -f releases/linux-patch-api-*.apk 2>/dev/null || true
|
||||
rm -f /home/builduser/packages/home/x86_64/linux-patch-api-*.apk 2>/dev/null || true
|
||||
# Ensure abuild output directory exists
|
||||
mkdir -p /home/builduser/packages/home/x86_64/
|
||||
|
||||
# Source cargo environment (for rustup-installed toolchain in CI)
|
||||
if [ -f "$HOME/.cargo/env" ]; then
|
||||
|
||||
Reference in New Issue
Block a user