Fixed Tauri setup for Windows using caches

This commit is contained in:
Thorsten Sommer 2024-06-07 08:26:51 +02:00
parent d13076e89a
commit 9fad467e66
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -133,7 +133,7 @@ jobs:
- name: Setup Tauri (Windows)
if: matrix.platform == 'windows-latest'
run: |
if (-not (Get-Command cargo tauri -ErrorAction SilentlyContinue)) {
if (-not (cargo tauri --version 2>$null)) {
cargo install tauri-cli
} else {
Write-Output "Tauri is already installed"