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: