ci(release): add tag-triggered signed release workflow#10
Merged
Conversation
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.
Summary
Adds
.github/workflows/release.yml, a new tag-triggered release workflow. It does not modifyci.ymlor any other existing workflow file.v*(e.g.v1.0.0). It never runs on pull requests or pushes tomain.release-macos, macos-14): builds the AU/VST3/Standalone targets universal (arm64 + x86_64) with Ninja, imports the Developer ID signing certificate into a throwaway keychain (deleted in anif: always()cleanup step), codesigns, notarizes vianotarytool, staples, zips, and uploads the asset to the GitHub release for the tag.release-windows, windows-latest): builds VST3/Standalone, packages them unsigned by design, and uploads to the same release.contents: writeonly, scoped to attaching release assets.find-based lookup (mirroringci.yml's "Locate plugin artefacts" step) instead of a hardcodedRelease/subfolder, since JUCE's output layout depends on whether the generator is single- or multi-config — same caveatci.ymlalready documents for the VST3/AU lookup there.Dependencies
The macOS job depends on these org-level secrets, which Yves is adding separately:
APPLE_API_KEY_IDAPPLE_API_ISSUER_IDAPPLE_API_KEY_P8APPLE_CERT_P12APPLE_CERT_PASSWORDUntil those are in place, pushing a
v*tag would fail at the signing/notarization step — this is safe (no secrets are exposed, no partial/unsigned macOS asset gets published) and expected until the secrets are added.Test plan
python3 -c "import yaml; yaml.safe_load(open('.github/workflows/release.yml'))")ci.ymlor any other existing file under.github/ci.yml) is green on this PR — this new workflow does not run on PRs, only onv*tag pushesv*tag is pushed (out of scope for this PR)🤖 Generated with Claude Code