From aab4b75352a77d92ccc9425aa4cdccff62528da6 Mon Sep 17 00:00:00 2001 From: nevaforget Date: Mon, 20 Apr 2026 09:43:45 +0200 Subject: [PATCH] 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. --- .gitea/workflows/build-and-publish.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/build-and-publish.yaml b/.gitea/workflows/build-and-publish.yaml index b8e1e91..814c52f 100644 --- a/.gitea/workflows/build-and-publish.yaml +++ b/.gitea/workflows/build-and-publish.yaml @@ -29,6 +29,9 @@ jobs: echo "Changed packages: $CHANGED" + # Sync pacman DB so -s can pull current versions (Arch rolling) + sudo pacman -Syu --noconfirm + for pkg in $CHANGED; do echo "==> Building $pkg" cd "$pkg"