Repository navigation
unity-setup@v3.0.0 - #78
Merged
Merged
Conversation
- replace @rage-against-the-pixel/unity-cli with Unity's official unity CLI - add unity-cli-version input, unity-cli-path and unity-cli-version outputs - remove auto-update-hub and hub-version inputs - require Unity 6 or newer
- drop the hand-rolled official CLI wrapper, use unity-cli 4.0.0's UnityCli and UnityInstaller - keep editors older than Unity 6 - fold in the npm_and_yarn bumps - CI: parallel version groups, monthly legacy editors, Linux apt package cache, rerun marked failures, 45/60 minute timeouts
StephenHodgson
force-pushed
the
dev/v3.0.0
branch
from
October 30, 2026 10:56
c995b0a to
6386ddf
Compare
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Cached Linux editors can fail to launch because required system dependencies are skipped, and transient setup failures lack the annotations needed to trigger retries.
2 open issues
What changed in this PR
Migrates unity-setup v3 from Unity Hub to Unity’s official CLI through unity-cli v4.0.3, updating the action’s interface and validation workflows.
Changes:
- Replaces Hub installation with CLI-based editor installation and adds CLI version selection and outputs.
- Updates documentation, dependencies, and bundled license notices.
- Separates current and legacy editor validation, adds Linux package caching, and introduces marked-failure retries.
| File | Description |
|---|---|
src/inputs.ts |
Uses the new installer API and adjusts architecture handling. |
src/index.ts |
Migrates setup and cache handling to Unity CLI. |
README.md |
Documents v3 usage, inputs, outputs, and environment variables. |
package.json |
Bumps the action to v3 and upgrades unity-cli. |
package-lock.json |
Updates resolved dependencies. |
dist/licenses.txt |
Refreshes bundled dependency license notices. |
action.yml |
Replaces Hub inputs and outputs with CLI equivalents. |
.github/workflows/validate.yml |
Splits current and legacy validation schedules and enables parallel groups. |
.github/workflows/rerun-validate.yml |
Triggers retry evaluation after failed validation runs. |
.github/workflows/rerun-marked-failures.yml |
Adds annotation-based retry filtering and attempt limits. |
.github/workflows/build.yml |
Adds Linux package caching and validates CLI outputs. |
.github/workflows/build-options.json |
Focuses routine validation on Unity 6 and newer. |
.github/workflows/build-options-legacy.json |
Defines the separate legacy editor matrix. |
Review effort: Balanced
StephenHodgson
marked this pull request as draft
November 1, 2026 00:42
- add channels and allow-security-alert inputs - test the Unity streams with the shared unity-stream-matrix workflow - rerun marked failures with retry-failed-jobs@v1
StephenHodgson
marked this pull request as ready for review
November 1, 2026 11:08
…tors - emit unity-cli's retry marker on failures a rerun can clear - install the Linux editor dependencies when the editor comes from the cache - bump actions/checkout to v7 in update-release-tags
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.


unity-cli-version,channelsandallow-security-alertinputssteps.[id].outputsunity-cli-path: The file path to the official unity cliunity-cli-version: The installed official unity cli versionUNITY_HUB_PATHwithUNITY_CLI_PATHunity-hub-pathoutput andauto-update-hubandhub-versioninputs