Skip to content

unity-setup@v1.2.0#27

Merged
StephenHodgson merged 2 commits into
mainfrom
development
Jul 30, 2025
Merged

unity-setup@v1.2.0#27
StephenHodgson merged 2 commits into
mainfrom
development

Conversation

@StephenHodgson

@StephenHodgson StephenHodgson commented Jul 30, 2025

Copy link
Copy Markdown
Member
  • support installing older unity versions (Unity 4.x+ and 5.x+)
  • refactor internals to use Unity Services API to get most up to date information

- support installing older unity versions (4.x)
- refactor internals to use Unity Services API to get most up to date information
Copilot AI review requested due to automatic review settings July 30, 2025 16:17
@StephenHodgson StephenHodgson requested a review from a team as a code owner July 30, 2025 16:17

Copilot AI left a comment

Copy link
Copy Markdown

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 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

Comment thread src/unity-version.ts
Comment thread src/unity-version.ts
Comment thread src/unity-hub.ts
Comment thread src/unity-hub.ts
Comment thread src/inputs.ts Outdated
Comment thread src/unity-editor-installer.sh
Comment thread src/unity-editor-installer.ps1
@StephenHodgson StephenHodgson merged commit bafa1a6 into main Jul 30, 2025
26 checks passed
@StephenHodgson StephenHodgson deleted the development branch July 30, 2025 16:59
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.

2 participants