Private
Public Access
1
0

fix: resolve all 4 build job failures

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 79b7080237
commit 3326fa4445
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