Compare commits

..

5 commits

Author SHA1 Message Date
Ginger
a873329a42
fix: Fix ambiguous redirect 2025-09-08 10:27:58 -04:00
Ginger
d14310a1e5
fix: Run apt-get update first 2025-09-08 10:23:35 -04:00
Ginger
52fb7b5ede
fix: Use binstall for cargo-deb 2025-09-08 10:21:35 -04:00
Ginger
ede03e30a7
fix: Remove duplicate checkout step 2025-09-08 10:20:33 -04:00
Ginger
452afb7829
fix: Use Ubuntu runners for now 2025-09-08 10:19:32 -04:00

View file

@ -20,7 +20,7 @@ on:
jobs:
build:
runs-on: debian-latest
runs-on: ubuntu-latest
steps:
- name: Get Debian version
@ -35,11 +35,6 @@ jobs:
with:
fetch-depth: 0
- name: Checkout repository with full history
uses: https://code.forgejo.org/actions/checkout@v4
with:
fetch-depth: 0
- name: Cache Cargo registry
uses: https://code.forgejo.org/actions/cache@v4
with:
@ -70,14 +65,15 @@ jobs:
- name: Install build dependencies
run: |
cargo install cargo-deb
cargo binstall cargo-deb
apt-get update -y
# Build dependencies for rocksdb
apt install -y clang liburing-dev
apt-get install -y clang liburing-dev
- name: Run cargo-deb
id: cargo_deb
run: |
cargo deb >> $DEB_PATH
DEB_PATH=$(cargo deb)
echo "path=$DEB_PATH" >> $GITHUB_OUTPUT
- name: Test deb installation