Skip to content

Commit 412b4fa

Browse files
fix: fix version mismatch for tauri
1 parent 865db81 commit 412b4fa

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,14 @@ jobs:
4343
- name: Install Dependencies
4444
run: npm install
4545

46-
- name: Install Tauri CLI and API
46+
- name: Check and Install Latest Tauri Packages
4747
run: |
48+
# Install the latest CLI globally
4849
npm install -g @tauri-apps/cli
49-
npm install @tauri-apps/cli @tauri-apps/api @tauri-apps/plugin-fs --save-dev
50+
# Check for any outdated tauri packages in the project
51+
npm outdated '/@tauri-apps/'
52+
# Install the latest versions of the CLI, API, and plugins to ensure they match
53+
npm install @tauri-apps/cli@latest @tauri-apps/api@latest @tauri-apps/plugin-fs@latest --save-dev
5054
5155
- name: Run Cross-Platform Build Script
5256
run: node build-desktop.js
@@ -174,4 +178,5 @@ jobs:
174178
gh release create "$NEW_VERSION" \
175179
--title "CircuitVerse Desktop $NEW_VERSION" \
176180
--notes "$CHANGELOG_NOTES" \
177-
release-assets/*
181+
release-assets/*
182+

0 commit comments

Comments
 (0)