From 22b4b411d9b4eb76a87da9f68ccb3a74a6bfed21 Mon Sep 17 00:00:00 2001 From: Mahmoud Mazouz Date: Tue, 20 Feb 2024 16:47:54 +0100 Subject: [PATCH] chore: Pin version of cross and cargo-deb --- .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 7b20564..6054bc0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,10 @@ on: - cron: "0 1 * * 1-5" workflow_dispatch: +env: + VERSION_CROSS: 0.2.4 + VERSION_CARGO_DEB: 1.44.1 + jobs: checks: name: Code checks @@ -157,7 +161,7 @@ jobs: shell: bash run: | case ${{ matrix.job.target }} in - *-linux-gnu*) cargo install cargo-deb ;; + *-linux-gnu*) cargo install --version ${{ env.VERSION_CARGO_DEB }} cargo-deb ;; esac case ${{ matrix.job.target }} in @@ -175,7 +179,7 @@ jobs: ;; esac - cargo install cross --git https://github.com/cross-rs/cross + cargo install --version ${{ env.VERSION_CROSS }} cargo-cross - name: Windows > Install LLVM and Clang # required for bindgen to work, see https://github.com/rust-lang/rust-bindgen/issues/1797 uses: KyleMayes/install-llvm-action@v1