mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-02-05 15:49:07 +00:00
CI/CD: Use a specific Tauri version for the cli tools (#158)
This commit is contained in:
parent
d2dd90d089
commit
a19a6b2188
6
.github/workflows/build-and-release.yml
vendored
6
.github/workflows/build-and-release.yml
vendored
@ -278,7 +278,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
|
cargo install --version 1.6.2 tauri-cli
|
||||||
else
|
else
|
||||||
echo "Tauri is already installed"
|
echo "Tauri is already installed"
|
||||||
fi
|
fi
|
||||||
@ -287,7 +287,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
|
cargo install --version 1.6.2 tauri-cli
|
||||||
} else {
|
} else {
|
||||||
Write-Output "Tauri is already installed"
|
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
|
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
|
cargo install --version 1.6.2 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' && env.SKIP != 'true' }}
|
if: ${{ steps.linux_arm_cache.outputs.cache-hit != 'true' && env.SKIP != 'true' }}
|
||||||
|
Loading…
Reference in New Issue
Block a user