Skip to content

Commit 8f3fe1e

Browse files
committed
CI: Fix ARM64 install script exit code handling
The run-on-arch-action fails with exit code 100 even when packages install successfully because apt update returns 100 for dep11 metadata failures. The install script properly handles dep11 failures (retries for critical indices, ignores dep11, verifies package installation), but doesn't explicitly exit 0 at the end. The action captures the last command's exit code, which is from the apt update attempt that had dep11 failures. Fix: Add explicit "exit 0" at end of install script after verifying all critical packages are installed. This ensures the action sees success when packages are actually installed correctly, regardless of benign dep11 metadata sync issues. Fixes: host-arm64 "exit code 100" despite successful package installation
1 parent 2d9ee6f commit 8f3fe1e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,9 @@ jobs:
415415
fi
416416
417417
echo "✓ All critical build tools installed successfully"
418+
419+
# Explicitly exit with success (install script may have non-zero from apt update dep11)
420+
exit 0
418421
# FIXME: gcc build fails on Aarch64/Linux hosts
419422
env: |
420423
CC: clang-18

0 commit comments

Comments
 (0)