fix(ci): pacman -Syu before build to refresh stale package DB
Runner container has a cached pacman DB that lists package versions already rotated off the mirrors, causing 404s when makepkg -s tries to pull makedepends (gtk4, mesa, llvm-libs). Sync the DB first.
This commit is contained in:
parent
86327fd1f2
commit
aab4b75352
@ -29,6 +29,9 @@ jobs:
|
|||||||
|
|
||||||
echo "Changed packages: $CHANGED"
|
echo "Changed packages: $CHANGED"
|
||||||
|
|
||||||
|
# Sync pacman DB so -s can pull current versions (Arch rolling)
|
||||||
|
sudo pacman -Syu --noconfirm
|
||||||
|
|
||||||
for pkg in $CHANGED; do
|
for pkg in $CHANGED; do
|
||||||
echo "==> Building $pkg"
|
echo "==> Building $pkg"
|
||||||
cd "$pkg"
|
cd "$pkg"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user