diff --git a/.forgejo/workflows/build-debian.yml b/.forgejo/workflows/build-debian.yml index fa924372..5cadb4a9 100644 --- a/.forgejo/workflows/build-debian.yml +++ b/.forgejo/workflows/build-debian.yml @@ -20,7 +20,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: debian-latest steps: - name: Get Debian version @@ -35,6 +35,11 @@ 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: @@ -65,15 +70,14 @@ jobs: - name: Install build dependencies run: | - cargo binstall cargo-deb - apt-get update -y + cargo install cargo-deb # Build dependencies for rocksdb - apt-get install -y clang liburing-dev + apt install -y clang liburing-dev - name: Run cargo-deb id: cargo_deb run: | - DEB_PATH=$(cargo deb) + cargo deb >> $DEB_PATH echo "path=$DEB_PATH" >> $GITHUB_OUTPUT - name: Test deb installation