Skip to content

Conversation

@compnerd
Copy link
Owner

Rename the branch and tag to swift-version and swift-build to aid in clarity.

Fixes: #19

@compnerd compnerd requested a review from Copilot August 27, 2025 17:57

This comment was marked as outdated.

@compnerd compnerd requested a review from Copilot August 27, 2025 17:58

This comment was marked as outdated.

@compnerd compnerd requested a review from Copilot August 27, 2025 18:21

This comment was marked as outdated.

@compnerd compnerd requested a review from Copilot August 27, 2025 18:42

This comment was marked as outdated.

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
@compnerd compnerd requested a review from Copilot August 27, 2025 20:04
Copy link

Copilot AI left a 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 branchswift-version and tagswift-build for 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]>
@compnerd compnerd merged commit 461d602 into main Aug 27, 2025
4 checks passed
@compnerd compnerd deleted the compnerd/renaming branch August 27, 2025 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Confusing options

2 participants