From da79b3964a3e73e5562861af26499d88d708248e Mon Sep 17 00:00:00 2001 From: ximon18 <3304436+ximon18@users.noreply.github.com> Date: Wed, 9 Sep 2020 20:30:25 +0200 Subject: [PATCH] Switch to official cargo-deb release that has the required systemd unit functionality. (#375) * Use correct version number syntax. --- .github/workflows/pkg.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pkg.yml b/.github/workflows/pkg.yml index 82f4804..f751cf1 100644 --- a/.github/workflows/pkg.yml +++ b/.github/workflows/pkg.yml @@ -37,7 +37,7 @@ jobs: - "debian:buster" # debian/10 - "debian:bullseye" # debian/11 env: - CARGO_DEB_VER: 94ba8f3 + CARGO_DEB_VER: 1.28.0 # A Routinator version of the form 'x.y.z-bis' denotes a dev build that is # newer than the released x.y.z version but is not yet a new release. NEXT_VER_LABEL: bis @@ -106,7 +106,7 @@ jobs: - name: Install Cargo Deb if: steps.cache-cargo-deb.outputs.cache-hit != 'true' run: | - cargo install --git https://github.com/mmstick/cargo-deb.git --rev $CARGO_DEB_VER cargo-deb + cargo install cargo-deb --version ${CARGO_DEB_VER} # Instruct cargo-deb to build the Debian package using the config section # in Cargo.toml for the specified "variant".