From 7175058d2672d73a14c2df2b84acbe166e5e7aa3 Mon Sep 17 00:00:00 2001 From: Echo Date: Mon, 13 Apr 2026 14:23:10 +0000 Subject: [PATCH] Fix: Use node:18 container for build-rpm job to support JavaScript actions --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57595f2..5fc7ef2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -113,7 +113,7 @@ jobs: build-rpm: name: Build RPM Package runs-on: linux - container: fedora:latest + container: node:18 steps: - uses: actions/checkout@v4 with: @@ -121,7 +121,8 @@ jobs: - uses: dtolnay/rust-toolchain@stable - name: Install RPM build tools run: | - dnf install -y rpm-build gcc cargo rust libsystemd-devel pkgconfig-pkg-config + apt-get update + apt-get install -y rpm rpm-common rpmbuild gcc cargo rust libsystemd-dev pkg-config - name: Build release binary run: cargo build --release - name: Build RPM package