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:
parent
805b3e9318
commit
8d1dacd6fa
@ -29,8 +29,9 @@ jobs:
|
|||||||
|
|
||||||
echo "Changed packages: $CHANGED"
|
echo "Changed packages: $CHANGED"
|
||||||
|
|
||||||
# Sync pacman DB so -s can pull current versions (Arch rolling)
|
# Sync pacman DB so -s can pull current versions (Arch rolling).
|
||||||
sudo pacman -Syu --noconfirm
|
# -Sy only: full -Syu overwhelms the shared runner host with I/O.
|
||||||
|
sudo pacman -Sy --noconfirm
|
||||||
|
|
||||||
for pkg in $CHANGED; do
|
for pkg in $CHANGED; do
|
||||||
echo "==> Building $pkg"
|
echo "==> Building $pkg"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user