From a19a6b218832ee9da8f964612d04d85f8f2487bd Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Mon, 7 Oct 2024 14:42:09 +0200 Subject: [PATCH] CI/CD: Use a specific Tauri version for the cli tools (#158) --- .github/workflows/build-and-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 887f387..e0cc739 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -278,7 +278,7 @@ jobs: if: matrix.platform != 'windows-latest' run: | if ! cargo tauri --version > /dev/null 2>&1; then - cargo install tauri-cli + cargo install --version 1.6.2 tauri-cli else echo "Tauri is already installed" fi @@ -287,7 +287,7 @@ jobs: if: matrix.platform == 'windows-latest' run: | if (-not (cargo tauri --version 2>$null)) { - cargo install tauri-cli + cargo install --version 1.6.2 tauri-cli } else { Write-Output "Tauri is already installed" } @@ -500,7 +500,7 @@ jobs: apt-get install --yes libwebkit2gtk-4.0-dev build-essential libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev # Setup Tauri: - cargo install tauri-cli + cargo install --version 1.6.2 tauri-cli - name: Add the built runner image to the cache if: ${{ steps.linux_arm_cache.outputs.cache-hit != 'true' && env.SKIP != 'true' }}