Private
Public Access
1
0

Fix build jobs: remove sudo from apt-get commands (node:18 runs as root)
Some checks failed
CI/CD Pipeline / Code Format (push) Successful in 14s
CI/CD Pipeline / Clippy Lints (push) Successful in 10m40s
CI/CD Pipeline / Unit Tests (push) Successful in 11m3s
CI/CD Pipeline / Security Audit (push) Successful in 1m33s
CI/CD Pipeline / Build Debian Package (push) Failing after 27s
CI/CD Pipeline / Build RPM Package (push) Failing after 14s
CI/CD Pipeline / Build Alpine Package (push) Failing after 2s
CI/CD Pipeline / Build Arch Package (push) Failing after 2s
CI/CD Pipeline / Create Release (push) Has been skipped

This commit is contained in:
2026-04-12 18:18:36 +00:00
parent d84dd7e214
commit 27dd3ac82e
4 changed files with 5 additions and 5 deletions

Binary file not shown.

View File

@ -1 +1 @@
7e94523872548661092d3417cde5f395434394bc1cfc5ac725fce0fb17ff3f39
ba56296c4f1d04d375ff2586bfce012e49f2b2a9a9e8461e840546a8e03f4b1c

Binary file not shown.

View File

@ -97,8 +97,8 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y debhelper cargo rustc libsystemd-dev pkg-config
apt-get update
apt-get install -y debhelper cargo rustc libsystemd-dev pkg-config
- name: Build Debian package
run: dpkg-buildpackage -us -uc -b
- name: Upload .deb artifact
@ -125,8 +125,8 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
- name: Install RPM build tools
run: |
sudo apt-get update
sudo apt-get install -y rpm rpmbuild cargo rustc libsystemd-dev pkg-config
apt-get update
apt-get install -y rpm rpmbuild cargo rustc libsystemd-dev pkg-config
- name: Build RPM package
run: |
rpmbuild -ba linux-patch-api.spec