unity-command-github-action
v1.0.10
Published
This action executes the Unity command line. For more information about the Unity command line, please refer to the [official documentation][1].
Readme
unity-command-github-action
This action executes the Unity command line.
For more information about the Unity command line, please refer to the official documentation.
Usage
Simple usage
- uses: akiojin/unity-command-github-action@v1
with:
build-target: 'iOS'Additional arguments
- uses: akiojin/unity-command-github-action@v1
with:
build-target: 'iOS'
project-directory: ${{ github.workspace }}
additional-arguments: '-v --param="Test"'Arguments
Common
|Name|Required|Type|Default|Description|
|:--|:--|:--|:--|:--|
|additional-arguments|false|string|""|Specify additional required arguments.|
|build-target|true|string||Allows the selection of an active build target before loading a project.Possible options are:Standalone, Win, Win64, OSXUniversal, Linux, Linux64, LinuxUniversal, iOS, Android, Web, WebStreamed, WebGL, XboxOne, PS4, WindowsStoreApps, Switch, N3DS, tvOS.|
|execute-method|false|string|""|Execute the static method as soon as Unity opens the project, and after the optional Asset server update is complete.|
|log-file|false|string|"-"|Specify where Unity writes the Editor or Windows/Linux/OSX standalone log file.To output to the console, specify "-" for the path name.On Windows, specify - option to make the output go to stdout, which is not the console by default.|
|project-directory|false|string|$GITHUB_WORKSPACE|Open the project at the given path.|
|unity-version|false|string|""|Specify the Unity version to be used.If omitted, the project version is used.|
License
Any contributions made under this project will be governed by the MIT License.
