tiltingpoint/Build Unity
Build Unity project on Ubuntu, macOS or Windows
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| unity-path | Path to Unity executable. UNITY_PATH env will be used if not provided | no | — |
| project-path | Path to Unity project | no | ${{ github.workspace }} |
| build-target | Build target | yes | — |
| build-path | Path to build output. Only for default build method | no | — |
| build-version | Set application version. Only for default build method | no | — |
| build-number | Set application build number. Only for default build method | no | — |
| unity-username | Unity username | no | — |
| unity-password | Unity password | no | — |
| unity-serial | Unity serial | no | — |
| build-defines | Set scripting define symbols. For example, RELEASE_VERSION;ENG_VERSION. Only for default build method | no | — |
| android-keystore-base64 | The base64 contents of the android keystore file. Only for default build method | no | — |
| android-keystore-pass | The android keystore password. Only for default build method | no | — |
| android-keyalias-name | The android keyalias name. Only for default build method | no | — |
| android-keyalias-pass | The android keyalias password. Only for default build method | no | — |
| build-method | Path to build method. For example, MyEditorScript.PerformBuild. Default build method will be used if not provided | no | — |
| build-method-args | Custom arguments for build method | no | — |
| no-graphics | Run Unity with -nographics flag. Set to false for builds that need GPU shader compilation (e.g. URP Render Graph). Default true for backward compatibility. | no | true |
| no-batch-mode | Run Unity WITHOUT -batchmode flag. Set to true for builds where batchmode breaks rendering (e.g. URP Metal shader pipeline). Default false for backward compatibility. | no | false |
| unity-quit | Run Unity with -quit flag, which exits the editor automatically after the build/executeMethod finishes. Set to false if your build script handles quitting itself (e.g. via EditorApplication.Exit) or when you need Unity to stay open after the run. Default true for backward compatibility. | no | true |
| run-tests | Run tests. Ignores 'build-method', but uses 'build-method-args'. | no | — |
Outputs
| name | description |
|---|---|
| build-path | Path to build output |