Skip to content

Commit 46dce0e

Browse files
codexuclaude
andcommitted
fix: 修复 GitHub Actions Linux 构建和 macOS artifact 丢失问题
- 恢复 tauri.conf.json targets 为 "all" - 在 Linux CI 构建时通过 --bundles 参数排除 AppImage - 避免全局设置 targets 导致 macOS dmg/app 无法生成 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 21ef40f commit 46dce0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ jobs:
235235
- platform: 'macos-latest'
236236
args: '--target x86_64-apple-darwin'
237237
- platform: 'ubuntu-24.04'
238-
args: ''
238+
args: '--bundles deb,rpm'
239239
- platform: 'windows-latest'
240240
args: ''
241241

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"bundle": {
3434
"active": true,
3535
"createUpdaterArtifacts": true,
36-
"targets": ["deb", "rpm"],
36+
"targets": "all",
3737
"resources": [
3838
"icons"
3939
],

0 commit comments

Comments
 (0)