Skip to content

unity-action@v3.0.0#14

Merged
StephenHodgson merged 3 commits intomainfrom
development
Oct 23, 2025
Merged

unity-action@v3.0.0#14
StephenHodgson merged 3 commits intomainfrom
development

Conversation

@StephenHodgson
Copy link
Member

  • refactored action to use unity-cli@v1.5.0

- refactored action to use unity-cli@v1.5.0
@StephenHodgson StephenHodgson requested a review from a team as a code owner October 23, 2025 13:08
Copilot AI review requested due to automatic review settings October 23, 2025 13:08
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 refactors the action to use unity-cli@v1.5.0, significantly simplifying the codebase by delegating Unity process management to an external library. The major version bump to v3.0.0 indicates breaking changes in the API.

Key changes:

  • Replaced custom Unity process execution and management logic with @rage-against-the-pixel/unity-cli library
  • Removed extensive custom code for process handling, argument validation, and log tailing
  • Updated action version references from v2 to v3 in documentation and workflows

Reviewed Changes

Copilot reviewed 12 out of 16 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/index.ts Refactored to use unity-cli library instead of custom Unity execution logic
src/utils.ts Removed process management utilities, kept only shellSplit function with improved empty string handling
src/unity.ts Deleted entire Unity execution implementation
src/types.ts Deleted type definitions (now provided by unity-cli)
src/inputs.ts Deleted input validation logic (now handled by unity-cli)
package.json Updated to version 3.0.0, replaced action dependencies with unity-cli library
README.md Updated examples to reference v3 and removed unnecessary quotes
.github/workflows/validate.yml Updated checkout action to v5 and added timeline job
.github/workflows/update-release-tags.yml Updated checkout action to v5
.github/workflows/scripts/get-unity-template.sh Removed template retrieval script (functionality moved elsewhere)
.github/workflows/build.yml Updated to use new unity-setup and create-unity-project actions, removed template script usage
.github/workflows/build-options.json Expanded Unity version coverage and added more build target combinations

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@StephenHodgson StephenHodgson merged commit 6d7b169 into main Oct 23, 2025
128 of 135 checks passed
@StephenHodgson StephenHodgson deleted the development branch October 23, 2025 19:49
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