From 5bca774b9314308adafd4b25ddbc1fe94b0bcafa Mon Sep 17 00:00:00 2001 From: Echo Date: Mon, 13 Apr 2026 02:32:56 +0000 Subject: [PATCH] Fix build-apk (alpine/node) and build-arch (install nodejs before checkout) --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51cb588..e040396 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -137,14 +137,14 @@ jobs: build-apk: name: Build Alpine Package runs-on: linux - container: node:18 + container: alpine/node:latest steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install build dependencies run: | - apk add --no-cache rust cargo musl-dev openssl-dev systemd-dev git nodejs npm abuild + apk add --no-cache rust cargo musl-dev openssl-dev systemd-dev git abuild - name: Build APK package run: ./build-alpine.sh - name: Upload to releases (on tag) @@ -159,12 +159,14 @@ jobs: runs-on: linux container: archlinux:latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Install Node.js for GitHub Actions + run: pacman -Sy --noconfirm nodejs npm - name: Install build dependencies run: | - pacman -Syu --noconfirm rust cargo systemd git base-devel nodejs npm + pacman -Syu --noconfirm rust cargo systemd git base-devel - name: Build release binary run: cargo build --release - name: Build Arch package