Private
Public Access
1
0

fix: resolve all 4 build job failures
Some checks failed
CI/CD Pipeline / Code Format (push) Successful in 4s
CI/CD Pipeline / Clippy Lints (push) Successful in 36s
CI/CD Pipeline / Unit Tests (push) Successful in 48s
CI/CD Pipeline / Security Audit (push) Successful in 4s
CI/CD Pipeline / Build Debian Package (push) Failing after 0s
CI/CD Pipeline / Build Arch Package (push) Failing after 1m59s
CI/CD Pipeline / Build Alpine Package (push) Failing after 2m54s
CI/CD Pipeline / Build RPM Package (push) Successful in 3m27s

Debian: Add -d flag to dpkg-buildpackage (skip dep check,
rustup installed Rust not apt)

RPM/Arch: Fix missing run: | YAML syntax in dependency steps

Alpine: Fix abuild working directory - use /home/builduser
explicitly instead of $(pwd) which referenced act cache path
This commit is contained in:
2026-04-27 00:19:32 +00:00
parent 256238eae6
commit 392a08abb7
2 changed files with 17 additions and 9 deletions

View File

@ -116,7 +116,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y build-essential debhelper pkg-config libsystemd-dev
- name: Build Debian package
run: sudo dpkg-buildpackage -us -uc -b
sudo dpkg-buildpackage -us -uc -b -d
- name: Upload to Gitea Release
if: startsWith(github.ref, 'refs/tags/')
env:
@ -143,6 +143,7 @@ jobs:
. "$HOME/.cargo/env"
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
- name: Install build dependencies
run: |
sudo dnf install -y gcc rpm-build systemd-devel pkg-config
- name: Build release binary
run: cargo build --release
@ -213,6 +214,7 @@ jobs:
. "$HOME/.cargo/env"
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
- name: Install build dependencies
run: |
sudo pacman -Syu --noconfirm rust cargo systemd git base-devel gcc
- name: Build release binary
run: cargo build --release