Skip to content

Fix Unity license forwarding in builder action#3

Merged
0x5143 merged 3 commits into
mainfrom
codex/unity_license
Jul 22, 2026
Merged

Fix Unity license forwarding in builder action#3
0x5143 merged 3 commits into
mainfrom
codex/unity_license

Conversation

@0x5143

@0x5143 0x5143 commented Jul 22, 2026

Copy link
Copy Markdown

Motivation

  • CI jobs failed because organization UNITY_LICENSE secrets are not automatically injected into composite actions or forwarded to game-ci/unity-builder@v4 by name.
  • The composite action needs explicit inputs/env passthrough so callers can expose secrets to the inner action.
  • The previous masking step ran even when no serial was set, causing noisy or invalid behavior.

Description

  • Add inputs unityLicense, unitySerial, unityEmail, and unityPassword to .github/actions/unity-builder/action.yaml so callers can pass Unity credentials.
  • Forward these values as environment variables to game-ci/unity-builder@v4 using inputs.* || env.*, and change the masking step to only mask when a serial exists.
  • Update README.md example to show unityLicense: ${{ secrets.UNITY_LICENSE }} and document that organization secrets must be exposed from the calling workflow via with inputs or job env.

Testing

  • Validated the composite action YAML with ruby -e 'require "yaml"; YAML.load_file(".github/actions/unity-builder/action.yaml")', which succeeded.
  • Ran git diff --check to ensure there are no whitespace or diff issues, which succeeded.

Codex Task

@0x5143
0x5143 marked this pull request as ready for review July 22, 2026 05:56
@0x5143
0x5143 merged commit 729cac8 into main Jul 22, 2026
@0x5143
0x5143 deleted the codex/unity_license branch July 22, 2026 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant