Skip to content

Conversation

@StephenHodgson
Copy link
Member

  • added hub-version input option to manually specify a version of unity-hub to install
  • updated unity-cli@v1.5.1

- added `hub-version` input option to manually specify a version of unity-hub to install
- updated unity-cli@v1.5.1
@StephenHodgson StephenHodgson marked this pull request as ready for review October 28, 2025 20:52
Copilot AI review requested due to automatic review settings October 28, 2025 20:52
Copy link
Contributor

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 adds support for specifying a specific Unity Hub version during installation. Users can now provide a hub-version input parameter to install a specific version instead of auto-updating to the latest version.

  • Added hub-version input parameter to action.yml with validation to prevent conflicting configuration
  • Updated UnityHub.Install() method to accept an optional version parameter
  • Enhanced error handling and logging throughout the installation process

Reviewed Changes

Copilot reviewed 5 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/index.ts Added hub-version input retrieval and validation logic to prevent conflicting auto-update and specific version configurations
action.yml Added new hub-version input parameter with description and default value
package.json, package-lock.json Version bump to 2.1.0 and dependency updates
dist/index.js Compiled changes including hub version support, enhanced error handling, and improved installation logic
.github/workflows/build.yml Added hub-version parameter to test workflow
.github/workflows/build-options.json Added hub-version test cases for all platforms

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@StephenHodgson StephenHodgson merged commit 0b093dc into main Oct 28, 2025
59 checks passed
@StephenHodgson StephenHodgson deleted the development branch October 28, 2025 23:48
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.

1 participant