From 37505987548920549ee5af0f2438ca8eed246df1 Mon Sep 17 00:00:00 2001 From: Echo Date: Mon, 13 Apr 2026 01:57:31 +0000 Subject: [PATCH] Fix build-rpm: use node:18 container (has Node.js for GitHub Actions), update to actions v4 --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 521fb31..a37643d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -113,15 +113,16 @@ jobs: build-rpm: name: Build RPM Package runs-on: linux - container: fedora:latest + container: node:18 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - 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 gcc build-essential cargo rustc libsystemd-dev pkg-config - name: Build release binary run: cargo build --release - name: Build RPM package