actions-marketplace-validations/Unity - Builder Memory Hack
Build Unity projects for different platforms.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit May 4, 2023
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-marketplace-validations/jborlido_unity-builder@2e7b85e33e05c2cc8c71dbe8d10a8b66f1a108b4 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| targetPlatform | Platform that the build should target. | yes | "" |
| unityVersion | Version of unity to use for building the project. Use "auto" to get from your ProjectSettings/ProjectVersion.txt | no | auto |
| customImage | Specific docker image that should be used for building the project | no | "" |
| projectPath | Relative path to the project to be built. | no | "" |
| buildName | Name of the build. Should not include a file extension. | no | "" |
| buildsPath | Path where the builds should be stored. | no | "" |
| buildMethod | Path to a Namespace.Class.StaticMethod to run to perform the build. | no | "" |
| customParameters | Custom parameters to configure the build. | no | "" |
| versioning | The versioning scheme to use when building the project | no | Semantic |
| version | The version, when used with the "Custom" versioning scheme | no | "" |
| androidVersionCode | The android versionCode | no | "" |
| androidAppBundle | [Deprecated] Use androidExportType instead. Whether to build .aab instead of .apk | no | false |
| androidExportType | The android export type. Should be androidPackage for apk, androidAppBundle for aab, or androidStudioProject for an android studio project. | no | "" |
| androidKeystoreName | The android keystoreName | no | "" |
| androidKeystoreBase64 | The base64 contents of the android keystore file | no | "" |
| androidKeystorePass | The android keystorePass | no | "" |
| androidKeyaliasName | The android keyaliasName | no | "" |
| androidKeyaliasPass | The android keyaliasPass | no | "" |
| androidTargetSdkVersion | The android target API level. | no | "" |
| androidSymbolType | The android symbol type to export. Should be "none", "public" or "debugging". | no | none |
| sshAgent | SSH Agent path to forward to the container | no | "" |
| gitPrivateToken | [CloudRunner] Github private token to pull from github | no | "" |
| githubOwner | [CloudRunner] GitHub owner name or organization/team name | no | "" |
| chownFilesTo | User and optionally group (user or user:group or uid:gid) to give ownership of the resulting build artifacts | no | "" |
| allowDirtyBuild | [CloudRunner] Allows the branch of the build to be dirty, and still generate the build. | no | "" |
| postBuildSteps | [CloudRunner] run a post build job in yaml format with the keys image, secrets (name, value object array), command string | no | "" |
| preBuildSteps | [CloudRunner] Run a pre build job after the repository setup but before the build job (in yaml format with the keys image, secrets (name, value object array), command line string) | no | "" |
| customStepFiles | [CloudRunner] Specify the names (by file name) of custom steps to run before or after cloud runner jobs, must match a yaml step file inside your repo in the folder .game-ci/steps/ | no | "" |
| customHookFiles | [CloudRunner] Specify the names (by file name) of custom hooks to run before or after cloud runner jobs, must match a yaml step file inside your repo in the folder .game-ci/hooks/ | no | "" |
| customJobHooks | [CloudRunner] Specify custom commands and trigger hooks (injects commands into jobs) | no | "" |
| customJob | [CloudRunner] Run a custom job instead of the standard build automation for cloud runner (in yaml format with the keys image, secrets (name, value object array), command line string) | no | "" |
| awsBaseStackName | [CloudRunner] The Cloud Formation stack name that must be setup before using this option. | no | game-ci |
| cloudRunnerCluster | [CloudRunner] Either local, k8s or aws can be used to run builds on a remote cluster. Additional parameters must be configured. | no | local |
| cloudRunnerCpu | [CloudRunner] Amount of CPU time to assign the remote build container | no | "" |
| cloudRunnerMemory | [CloudRunner] Amount of memory to assign the remote build container | no | "" |
| readInputFromOverrideList | [CloudRunner] Comma separated list of input value names to read from "input override command" | no | "" |
| readInputOverrideCommand | [CloudRunner] Extend game ci by specifying a command to execute to pull input from external source e.g cloud provider secret managers | no | "" |
| kubeConfig | [CloudRunner] Supply a base64 encoded kubernetes config to run builds on kubernetes and stream logs until completion. | no | "" |
| kubeVolume | [CloudRunner] Supply a Persistent Volume Claim name to use for the Unity build. | no | "" |
| kubeStorageClass | [CloudRunner] Kubernetes storage class to use for cloud runner jobs, leave empty to install rook cluster. | no | "" |
| kubeVolumeSize | [CloudRunner] Amount of disc space to assign the Kubernetes Persistent Volume | no | 5Gi |
| cacheKey | [CloudRunner] Cache key to indicate bucket for cache | no | "" |
| watchToEnd | [CloudRunner] Whether or not to watch the build to the end. Can be used for especially long running jobs e.g imports or self-hosted ephemeral runners. | no | true |
| cacheUnityInstallationOnMac | Whether to cache the Unity hub and editor installation on MacOS | no | false |
| unityHubVersionOnMac | The version of Unity Hub to install on MacOS (e.g. 3.4.0). Defaults to latest available on brew if empty string or nothing is specified. | no | "" |
| dockerMemoryLimit | The limit of memory which the docker container can use. | no | 2g |
| isBuild | Disable this if you want to run a static method, enable if you want to perform a normal build. | no | true |
| staticMethod | The static method you want to run instead of running the normal build process. | no | "" |
| buildAppBundle | Set this to true if you want to build an aab instead of an apk. | no | false |
| developmentBuild | Tells whether the package should be built as a development build or a production build. | no | true |
| keystoreAlias | The keystore profile alias to be used on the build. | no | "" |
Outputs
| name | description |
|---|---|
| volume | The Persistent Volume (PV) where the build artifacts have been stored by Kubernetes |
| buildVersion | The generated version used for the Unity build |
| androidVersionCode | The generated versionCode used for the Android Unity build |