ci: make manual release workflow runs always as dry-run#600
Merged
Conversation
…e PostgreSQL versions
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the GitHub Actions release workflow to be testable without creating tags by adding a manual dry-run trigger that builds/packaging artifacts without publishing, and adds an arm64 linker workaround to reduce release build failures.
Changes:
- Add
workflow_dispatchinputs (dry_run,version) to support manual dry-run builds with a configurable fake tag. - Gate crates.io publishing and GitHub Release creation/asset uploads to only run on
pushtag events. - Add arm64-specific linker/toolchain configuration (
lld) and use an “effective version” for package naming/versioning.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
… manual dry-run packaging
imor
approved these changes
May 8, 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.
What kind of change does this PR introduce?
This PR makes the release workflow testable on non-tag branches by adding a manual trigger with a version input, that builds artifacts without publishing to crates.io or GitHub Releases.
What is the current behavior?
The current release workflow is trigged by tagging which makes testing this workflow itself hard.
What is the new behavior?
versionfor manual triggering for this workflowworkflow_dispatchruns are always treated as dry-runs without publishing to crates.io or GitHub Releases.Additional context
This PR also made a minor fix for the linking issue on arm64 platform in release workflow, this fix replaced
ldwithlldas the default linker to avoid linking issue like below: