fix(ci): use pacman -Sy instead of -Syu to avoid host I/O overload

Previous -Syu triggered a full system upgrade inside the runner
container, which together with the concurrent Rust build saturated
the shared host and took Gitea down. -Sy just refreshes the package
DB, which is all makepkg -s actually needs to resolve current deps.
This commit is contained in:
nevaforget 2026-04-20 10:04:34 +02:00
parent 805b3e9318
commit 8d1dacd6fa

View File

@ -29,8 +29,9 @@ jobs:
echo "Changed packages: $CHANGED"
# Sync pacman DB so -s can pull current versions (Arch rolling)
sudo pacman -Syu --noconfirm
# Sync pacman DB so -s can pull current versions (Arch rolling).
# -Sy only: full -Syu overwhelms the shared runner host with I/O.
sudo pacman -Sy --noconfirm
for pkg in $CHANGED; do
echo "==> Building $pkg"