fix: remove all Alpine cleanup steps that broke abuild
- Revert build-alpine.sh to original (no cleanup lines) - Remove CI Alpine cleanup step entirely - Keep version verification and exact version upload in CI - The original build worked fine without cleanup; stale packages are caught by version verification
This commit is contained in:
@ -321,10 +321,6 @@ jobs:
|
|||||||
apk add --no-cache alpine-sdk rust cargo openssl openssl-dev elogind-dev musl-dev abuild gcc
|
apk add --no-cache alpine-sdk rust cargo openssl openssl-dev elogind-dev musl-dev abuild gcc
|
||||||
- name: Build release binary
|
- name: Build release binary
|
||||||
run: cargo build --release --target x86_64-unknown-linux-musl
|
run: cargo build --release --target x86_64-unknown-linux-musl
|
||||||
- name: Clean stale Alpine packages
|
|
||||||
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
|
|
||||||
- name: Build Alpine package
|
- name: Build Alpine package
|
||||||
run: |
|
run: |
|
||||||
chmod +x build-alpine.sh
|
chmod +x build-alpine.sh
|
||||||
|
|||||||
@ -8,10 +8,6 @@ set -e
|
|||||||
echo "=== Linux Patch API - Alpine Build Script ==="
|
echo "=== Linux Patch API - Alpine Build Script ==="
|
||||||
echo ""
|
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
|
|
||||||
|
|
||||||
# Source cargo environment (for rustup-installed toolchain in CI)
|
# Source cargo environment (for rustup-installed toolchain in CI)
|
||||||
if [ -f "$HOME/.cargo/env" ]; then
|
if [ -f "$HOME/.cargo/env" ]; then
|
||||||
. "$HOME/.cargo/env"
|
. "$HOME/.cargo/env"
|
||||||
|
|||||||
Reference in New Issue
Block a user