From 3744bb86babcd21f2c47c222132104ec43c624a4 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Tue, 25 Aug 2026 16:22:51 -0400 Subject: [PATCH] =?UTF-8?q?fix(ci):=20build-arch=20fails=20=E2=80=94=20act?= =?UTF-8?q?ions/checkout=20needs=20Node,=20archlinux=20image=20has=20none?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit actions/checkout@v4 is a JS action requiring a Node runtime to execute; archlinux:base-devel doesn't ship one, so the job failed immediately with "node: executable file not found". The job only needs one file (packaging/pacman/PKGBUILD), so fetch it via curl from Gitea's raw endpoint instead of checking out the whole repo. Also drop pacman -Syu to -Sy (sync-only) — a full system upgrade isn't needed in a throwaway container and risks partial-upgrade/keyring failures. Co-Authored-By: Claude Sonnet 5 --- .gitea/workflows/release.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index fbfdf5c..f59f522 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -290,10 +290,18 @@ jobs: container: image: archlinux:base-devel steps: - - uses: actions/checkout@v4 - + # actions/checkout@v4 is a Node.js action and archlinux:base-devel has + # no Node runtime — it fails with "node: executable file not found". + # This job only needs one file, so skip checkout and fetch it directly + # from Gitea's raw endpoint instead. - name: Install build tools - run: pacman -Syu --noconfirm --needed curl python + run: pacman -Sy --noconfirm --needed curl python + + - name: Fetch PKGBUILD + run: | + mkdir -p packaging/pacman + curl -sf "$GITEA_URL/LotusGuild/cinny-desktop/raw/branch/main/packaging/pacman/PKGBUILD" \ + -o packaging/pacman/PKGBUILD - name: Set package version env: