diff --git a/.forgejo/workflows/build-debian.yml b/.forgejo/workflows/build-debian.yml index 5cadb4a9..fa924372 100644 --- a/.forgejo/workflows/build-debian.yml +++ b/.forgejo/workflows/build-debian.yml @@ -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