From daa8234819a99dc621d86bc3d8f1ab32fbfa7abf Mon Sep 17 00:00:00 2001 From: Echo Date: Mon, 13 Apr 2026 01:38:03 +0000 Subject: [PATCH] Fix build-rpm: use Fedora container (native RPM build environment) instead of Debian --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 865af7f..1673eb1 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: node:18 + container: fedora:latest steps: - uses: actions/checkout@v2 with: @@ -121,8 +121,7 @@ jobs: - uses: dtolnay/rust-toolchain@stable - name: Install RPM build tools run: | - apt-get update - apt-get install -y rpm rpm-common gcc build-essential cargo rustc libsystemd-dev pkg-config + dnf install -y rpm-build gcc cargo rust libsystemd-devel pkgconfig-pkg-config - name: Build release binary run: cargo build --release - name: Build RPM package