From a708256d5f9c65fbdd7612c10adaa70b26030fb9 Mon Sep 17 00:00:00 2001 From: sitkevij <1553398+sitkevij@users.noreply.github.com> Date: Tue, 2 Jan 2024 11:35:34 -0800 Subject: [PATCH] ci: use rust toolchain for debian release --- .github/workflows/release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9fa248c..0626fce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,11 +7,15 @@ on: jobs: build: - runs-on: rust-latest + name: Debian Release + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - - run: | # Since v2.0.0 the deb package version will have a "-1" suffix. You can disable this by adding --deb-revision="" flag or revision = "" in Cargo metadata. The default suffix is for compliance with Debian's packaging standard. + - name: Cargo Install Run + uses: dtolnay/rust-toolchain@stable + - run: | + # Since v2.0.0 the deb package version will have a "-1" suffix. You can disable this by adding --deb-revision="" flag or revision = "" in Cargo metadata. The default suffix is for compliance with Debian's packaging standard. cargo install cargo-deb cargo deb - name: Release