-
Notifications
You must be signed in to change notification settings - Fork 15
GHA: rename parameters #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
d5a4cbf to
a5b7ff7
Compare
a5b7ff7 to
160f571
Compare
Rename the `branch` and `tag` to `swift-version` and `swift-build` to aid in clarity. Additionally, correct the custom source handling on macOS and Linux. Fixes: #19
160f571 to
06bacc1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR renames the branch and tag parameters to swift-version and swift-build respectively to improve clarity in the GitHub Action. The change maintains backward compatibility by keeping the old parameters as deprecated while adding validation logic to handle the transition.
- Renames
branch→swift-versionandtag→swift-buildfor better parameter naming - Adds backward compatibility support with deprecation warnings for old parameters
- Implements parameter validation to prevent mixing old and new parameter sets
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| action.yml | Updates parameter definitions, adds deprecation handling and validation logic, and converts all references to use resolved environment variables |
| README.md | Updates documentation to reflect new parameter names and adds deprecation notices |
| .github/workflows/test-install.yml | Updates test workflows to use new parameter names |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <[email protected]>
Rename the
branchandtagtoswift-versionandswift-buildto aid in clarity.Fixes: #19