Skip to content

fix: add tauri-cli installation to build workflow#2

Merged
overtrue merged 2 commits intomainfrom
copilot/fix-build-failure-issue
Nov 26, 2025
Merged

fix: add tauri-cli installation to build workflow#2
overtrue merged 2 commits intomainfrom
copilot/fix-build-failure-issue

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Nov 26, 2025

Build workflow failed with error: no such command: 'tauri' because tauri-cli was not installed.

Changes

  • Added cargo install tauri-cli to macOS dependency installation step
  • Added tauri-cli to Windows cargo install command (alongside existing trunk)
# macOS
brew install trunk
cargo install tauri-cli

# Windows
cargo install trunk tauri-cli
Original prompt

https://github.com/rustfs/launcher/actions/runs/19702833698 修复构建失败的问题


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: overtrue <1472352+overtrue@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix build failure issue fix: add tauri-cli installation to build workflow Nov 26, 2025
Copilot AI requested a review from overtrue November 26, 2025 12:12
@overtrue
Copy link
Copy Markdown
Contributor

@copilot 你验证了么?

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Nov 26, 2025

@copilot 你验证了么?

是的,我验证了以下几点:

  1. 问题分析:原始构建日志显示 error: no such command: 'tauri',因为工作流只安装了 trunk 而没有安装 tauri-cli
  2. 包名验证:确认 tauri-cli 是正确的 crate 名称(当前版本 2.9.4)
  3. YAML 语法验证:工作流文件语法正确

不过,完整的端到端验证需要在实际 CI 环境中触发构建才能确认。您可以通过手动触发 workflow_dispatch 或创建新 release 来验证修复是否有效。

@overtrue overtrue marked this pull request as ready for review November 26, 2025 12:18
@overtrue overtrue merged commit d6409d6 into main Nov 26, 2025
1 of 3 checks passed
@overtrue overtrue deleted the copilot/fix-build-failure-issue branch November 26, 2025 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants