unity-setup@v1.2.0#27
Merged
Merged
Conversation
- support installing older unity versions (4.x) - refactor internals to use Unity Services API to get most up to date information
There was a problem hiding this comment.
Pull Request Overview
This PR updates the Unity setup action to version 1.2.0, adding support for older Unity versions (4.x) and refactoring the internals to use the Unity Services API for more up-to-date information. The changes modernize the version detection and installation process while maintaining backward compatibility.
- Adds support for installing Unity 4.x versions using custom installer scripts
- Refactors architecture and version handling with new UnityVersion class
- Integrates Unity Services API for improved release information retrieval
Reviewed Changes
Copilot reviewed 16 out of 24 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| src/unity-version.ts | New class for Unity version management with semver handling and ARM compatibility checks |
| src/unity-hub.ts | Major refactor of Unity installation logic with Unity Services API integration |
| src/utility.ts | Adds RemovePath function and GetCurrentPlatform utility |
| src/inputs.ts | Updates input validation to use UnityVersion class and improved version parsing |
| src/index.ts | Simplifies main logic to work with new UnityVersion objects |
| src/unity-editor-installer.sh | New shell script for installing Unity 4.x on macOS |
| src/unity-editor-installer.ps1 | New PowerShell script for installing Unity 4.x on Windows |
| package.json | Version bump to 1.2.0 and adds Unity Releases API dependency |
| action.yml | Updates description to remove changeset requirement |
| README.md | Updates documentation for new version and output format |
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.
Uh oh!
There was an error while loading. Please reload this page.