ci(release): 补齐 macOS Tauri 产物发布#75
Merged
appergb merged 1 commit intoApr 30, 2026
Merged
Conversation
Reviewer's GuideExtends the Tauri release workflow to build, sign/notarize, and publish macOS arm64 DMG artifacts alongside existing Windows and Linux outputs, with Apple signing handled via optional secrets and ad-hoc fallbacks, plus unified artifact upload and debug listing. Sequence diagram for tag-based Tauri release with macOS DMG publicationsequenceDiagram
actor Dev as Developer
participant GH as GitHub
participant WF as Release_workflow
participant MAC as macos_latest_runner
participant APPLE as Apple_notary_service
participant REL as GitHub_Release
Dev->>GH: Push tag vX.Y.Z-tauri
GH->>WF: Trigger_release_tauri_workflow
WF->>MAC: Start_matrix_job(platform=macos_latest)
MAC->>MAC: Check_Apple_signing_availability
MAC->>MAC: Import_Apple_Developer_ID_certificate
MAC->>MAC: Configure_Apple_notarization_env
MAC->>APPLE: Submit_app_for_notarization
APPLE-->>MAC: Notarization_result
MAC->>MAC: Run_scripts_build_mac_sh
MAC->>GH: Upload_DMG_artifact_to_GitHub_Artifacts
WF->>REL: Create_or_update_release_with_all_artifacts
REL-->>Dev: Published_release_with_macOS_DMG_Windows_and_Linux_bundles
Flow diagram for macOS arm64 build, signing, and artifact publicationflowchart TD
S0([Start_matrix_job])
S1{platform_is_macos_latest?}
S2{ref_is_v*_tauri_tag?}
S3[Check_Apple_signing_availability]
S4[Import_Apple_Developer_ID_certificate]
S5{Apple_certificate_secrets_present?}
S6[Configure_Apple_notarization_env]
S7[Run_scripts_build_mac_sh]
S8[List_artifacts_debug]
S9[Upload_macOS_DMG_artifacts]
S10{tag_push_for_release?}
S11[Create_or_update_GitHub_Release]
E([End])
S0 --> S1
S1 -->|no| E
S1 -->|yes| S2
S2 -->|yes| S3
S2 -->|no| S4
S3 --> S4
S4 --> S5
S5 -->|no| S6
S5 -->|yes| S6
S6 --> S7
S7 --> S8
S8 --> S9
S9 --> S10
S10 -->|yes| S11
S10 -->|no| E
S11 --> E
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
appergb
pushed a commit
that referenced
this pull request
Apr 30, 2026
包含本轮所有合并: - Codex 终审两条 HIGH (cancel race) 修复 (PR #79) - 6 个 Cooper-X-Oak/Codex bot PRs 自动合并 (#44 #49 #53 #68 #72 #73) - 2 个有冲突 PR 本地 rebase 后合并 (#66 cancel + 空转写并存 / #67 Windows docs) - README 破图修复 (PR #80) - workflow-scope 受限的 #48 + #75 由用户在 GitHub UI 直接合并 3 处版本字段同步:package.json + tauri.conf.json + Cargo.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
Fixes #无(不再新增 upstream issue)。
关联 fork 验证:Cooper-X-Oak#12。
本 PR 是从 fork/dev 已验证批次拆出的 release workflow 维护项:让 Tauri release workflow 重新纳入 macOS arm64 构建产物,并在配置 Apple secrets 时支持签名 / 公证;未配置 secrets 时保留 ad-hoc fallback warning。
修复 / 新增 / 改进
macos-latest/aarch64-apple-darwin。scripts/build-mac.sh生成 dmg,并上传 artifact / GitHub Release 资产。兼容
openless -all适配回 upstream 当前目录openless-all。测试计划
git diff --check -- .github/workflows/release-tauri.ymlsafe_load解析.github/workflows/release-tauri.ymlopenless -all路径。Summary by Sourcery
Extend the Tauri release workflow to build and publish macOS arm64 artifacts with optional Apple signing and notarization, alongside existing Windows and Linux releases.
Build:
CI: