Private
Public Access
1
0

Fix build jobs: add Node.js for actions/checkout (deb/rpm containers, apk/arch packages)

This commit is contained in:
2026-04-12 17:35:02 +00:00
parent ffa468a149
commit 73495aad17

View File

@ -89,6 +89,7 @@ jobs:
build-deb: build-deb:
name: Build Debian Package name: Build Debian Package
runs-on: linux runs-on: linux
container: node:18
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
@ -116,6 +117,7 @@ jobs:
build-rpm: build-rpm:
name: Build RPM Package name: Build RPM Package
runs-on: linux runs-on: linux
container: node:18
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
@ -151,7 +153,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Install build dependencies - name: Install build dependencies
run: | run: |
apk add --no-cache rust cargo musl-dev openssl-dev systemd-dev git apk add --no-cache rust cargo musl-dev openssl-dev systemd-dev git nodejs npm
- name: Build release binary - name: Build release binary
run: cargo build --release --target x86_64-unknown-linux-musl run: cargo build --release --target x86_64-unknown-linux-musl
- name: Create APK package - name: Create APK package
@ -198,7 +200,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Install build dependencies - name: Install build dependencies
run: | run: |
pacman -Syu --noconfirm rust cargo systemd git base-devel pacman -Syu --noconfirm rust cargo systemd git base-devel nodejs npm
- name: Build release binary - name: Build release binary
run: cargo build --release run: cargo build --release
- name: Create PKGBUILD package - name: Create PKGBUILD package