Fixed installation of tauri-cli

This commit is contained in:
Thorsten Sommer 2024-06-17 12:41:41 +02:00
parent 3b76bfe57c
commit 4d553138be
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -242,7 +242,7 @@ jobs:
if: matrix.platform != 'windows-latest'
run: |
if ! cargo tauri --version > /dev/null 2>&1; then
cargo install tauri-cli --version ${{ env.TAURI_VERSION }}
cargo install tauri-cli
else
echo "Tauri is already installed"
fi
@ -251,7 +251,7 @@ jobs:
if: matrix.platform == 'windows-latest'
run: |
if (-not (cargo tauri --version 2>$null)) {
cargo install tauri-cli --version ${{ env.TAURI_VERSION }}
cargo install tauri-cli
} else {
Write-Output "Tauri is already installed"
}
@ -480,7 +480,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 --version $TAURI_VERSION
cargo install tauri-cli
- name: Add the built runner image to the cache
if: steps.linux_arm_cache.outputs.cache-hit != 'true'