mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 15:39:46 +00:00
Fixed installation of tauri-cli
This commit is contained in:
parent
3b76bfe57c
commit
4d553138be
6
.github/workflows/build-and-release.yml
vendored
6
.github/workflows/build-and-release.yml
vendored
@ -242,7 +242,7 @@ jobs:
|
|||||||
if: matrix.platform != 'windows-latest'
|
if: matrix.platform != 'windows-latest'
|
||||||
run: |
|
run: |
|
||||||
if ! cargo tauri --version > /dev/null 2>&1; then
|
if ! cargo tauri --version > /dev/null 2>&1; then
|
||||||
cargo install tauri-cli --version ${{ env.TAURI_VERSION }}
|
cargo install tauri-cli
|
||||||
else
|
else
|
||||||
echo "Tauri is already installed"
|
echo "Tauri is already installed"
|
||||||
fi
|
fi
|
||||||
@ -251,7 +251,7 @@ jobs:
|
|||||||
if: matrix.platform == 'windows-latest'
|
if: matrix.platform == 'windows-latest'
|
||||||
run: |
|
run: |
|
||||||
if (-not (cargo tauri --version 2>$null)) {
|
if (-not (cargo tauri --version 2>$null)) {
|
||||||
cargo install tauri-cli --version ${{ env.TAURI_VERSION }}
|
cargo install tauri-cli
|
||||||
} else {
|
} else {
|
||||||
Write-Output "Tauri is already installed"
|
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
|
apt-get install --yes libwebkit2gtk-4.0-dev build-essential libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
|
||||||
|
|
||||||
# Setup Tauri:
|
# Setup Tauri:
|
||||||
cargo install tauri-cli --version $TAURI_VERSION
|
cargo install tauri-cli
|
||||||
|
|
||||||
- name: Add the built runner image to the cache
|
- name: Add the built runner image to the cache
|
||||||
if: steps.linux_arm_cache.outputs.cache-hit != 'true'
|
if: steps.linux_arm_cache.outputs.cache-hit != 'true'
|
||||||
|
Loading…
Reference in New Issue
Block a user