Fix: Use node:18 container for build-rpm job to support JavaScript actions
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -113,7 +113,7 @@ jobs:
|
|||||||
build-rpm:
|
build-rpm:
|
||||||
name: Build RPM Package
|
name: Build RPM Package
|
||||||
runs-on: linux
|
runs-on: linux
|
||||||
container: fedora:latest
|
container: node:18
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@ -121,7 +121,8 @@ jobs:
|
|||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
- name: Install RPM build tools
|
- name: Install RPM build tools
|
||||||
run: |
|
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
|
- name: Build release binary
|
||||||
run: cargo build --release
|
run: cargo build --release
|
||||||
- name: Build RPM package
|
- name: Build RPM package
|
||||||
|
|||||||
Reference in New Issue
Block a user