Private
Public Access
1
0

Fix build-apk (alpine/node) and build-arch (install nodejs before checkout)

This commit is contained in:
2026-04-13 02:32:56 +00:00
parent 29b25d23c0
commit 27ec73b30f

View File

@ -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