Draft
Conversation
Open
Co-authored-by: jamesmarkchan <6020424+jamesmarkchan@users.noreply.github.com> Agent-Logs-Url: https://github.com/JDiskMark/jdm-java/sessions/b742905c-838f-4d84-90f0-f3973125419e
Copilot
AI
changed the title
[WIP] Add macOS pkg build and signing capabilities
Add macOS PKG GitHub Actions workflow
Mar 24, 2026
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.
Adds
.github/workflows/macos-pkg-build.ymlto automate macOS PKG installer builds in CI, complementing the existing Linux DEB and Flatpak workflows.Workflow behavior
MACOS_CERTIFICATEsecret is set): imports the Developer ID cert into a temporary keychain →ant create-pkg→ optionalant notarize-pkg(whenAPPLE_IDis also set)ant create-dmgand uploads the DMGSecret detection pattern
GitHub Actions secrets cannot be reliably compared in
if:expressions. A dedicated step evaluates the comparison at expression-evaluation time viaenv:and writes boolean flags to step outputs:Required secrets for signed builds
MACOS_CERTIFICATE.p12certificateMACOS_CERTIFICATE_PWD.p12passwordMACOS_CERTIFICATE_NAME--mac-signing-key-user-name)SIGNING_IDENTITYMAC_PACKAGE_IDENTIFIERcom.jdiskmark.jdiskmark)APPLE_IDAPPLE_PASSWORDAPPLE_TEAM_ID💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.