fix(ci): build-arch fails — actions/checkout needs Node, archlinux image has none
Build Lotus Chat Desktop / prepare (push) Successful in 3s
Build Lotus Chat Desktop / build-linux (push) Successful in 25m48s
Build Lotus Chat Desktop / build-arch (push) Successful in 9s
Build Lotus Chat Desktop / build-windows (push) Successful in 42m38s
Build Lotus Chat Desktop / update-manifest (push) Successful in 5s

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 <noreply@anthropic.com>
This commit is contained in:
2026-08-25 16:22:51 -04:00
co-authored by Claude Sonnet 5
parent 392de28f46
commit 3744bb86ba
+11 -3
View File
@@ -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: