akiojin/Unity Build

This action performs a Unity command line build.

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 13, 2026
Maintenance Recency
Activelast commit Feb 20, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: akiojin/unity-build-github-action@1559a33404b81d4f5ccccd43391a8f540c17fabd # v3.9.21

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
additional-argumentsSpecify additional required arguments. no""
app-idSpecify the App ID. ex) com.akiojin.Sample no
bundle-versionSpecify the bundle version. This value is set to PlayerSettings.bundleVersion If omitted, the value set in PlayerSettings.bundleVersion is used as is.
build-targetAllows 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. yes
configurationThe configuration to use when building the app. Defaults to 'Debug' Possible options are: Debug, Release. noDebug
enable-bakeSpecify true to bake at build time. nofalse
execute-methodExecute the static method as soon as Unity opens the project, and after the optional Asset server update is complete. no""
install-directoryIf the Unity installation location is not the default, specify the path in this parameter. or in the environment variable `UNITY_HUB_INSTALL_DIRECTORY`. The path must exclude the version number. ex) E:\Unity\ no""
log-fileSpecify 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. no-
output-directorySpecifies the output directory. If omitted, runner.temp is set. no${{ runner.temp }}
output-nameSpecifies the output file name. If an empty string is passed for this value, the product name or "ProductName" specified in the Unity Editor will be used. Defaults to "Build" noBuild
project-directoryOpen the project at the given path. If the pathname contains spaces, enclose it in quotes. no${{ github.workspace }}
revisionSpecify the revision. This value is set to PlayerSettings.iOS.buildNumber or PlayerSettings.Android.bundleVersionCode. If omitted, github.run_number is set. no${{ github.run_number }}
unity-versionSpecify the Unity version to be used. If omitted, the project version is used. no""
p12-base64Specify the Base64 data for the p12 file. If you do not specify a file path in `p12`, you must specify this parameter. Also, if this value is specified, the value of `p12` is ignored. Required for macOS/iOS builds.
export-methodMethod used to export the archive. Valid values are: app-store, validation, ad-hoc, package, enterprise, development, developer-id and mac-application. Required for iOS builds. nodevelopment
include-bitcodeShould the ipa file include bitcode? Defaults to false. Required for iOS builds. nofalse
include-symbolsShould the ipa file include symbols? Defaults to false. Required for iOS builds. nofalse
provisioning-profile-base64no""
provisioning-profile-uuidSpecify the UUID of the provisioning profile. Required for iOS builds. no""
provisioning-profile-nameSpecify the Name of the provisioning profile. If app-id is specified, this parameter must be specified. It will be enabled for iOS builds. no""
provisioning-profile-typeSpecify the type of provisioning profile. Required for iOS builds. If omitted, Automatic is set. Valid values are: Automatic, Development, Distribution noAutomatic
strip-swift-symbolsIf set to true, it will truncate symbols from the Swift library in the IPA file, reducing the size of the IPA file. Used during iOS build. notrue
symbolsSpecify additional definitions. Separate each definition with a semicolon. ex) DEBUG;TEST;DEVELOPMENT no
team-idThe ID of your Developer Portal team if you're in multiple teams. Required for iOS build. no""
keystoreSpecify the path to the keystore file. If a custom keystore is used, it must be specified; however, if it is included in the project settings in advance, it need not be specified. If you use a custom keystore, you must specify `keystore-password`, `keystore-alias`, and `keystore-alias-password`. Used during Android build. no""
keystore-aliasSpecifies the name of the keystore alias. If a custom keystore is used, it must be specified. Used during Android build. no""
keystore-alias-passwordSpecify the password for the keystore alias. If a custom keystore is used, it must be specified. Used during Android build. no""
keystore-base64Specifies Base64 data for the keystore. If you do not specify a file path in `keystore`, you must specify this parameter. Also, if this value is specified, the value of `keystore` is ignored. Used during Android build. no""
keystore-passwordSpecify the password for the keystore. If a custom keystore is used, it must be specified. Used during Android build. no""
install-locationThe directory where the package is to be installed. If omitted, '/Applications' is specified. Required for macOS builds. no/Applications
temporary-directorySpecify a temporary folder for the Xcode project files that Unity outputs during iOS build. No change is required unless there is a specific reason. no${{ runner.temp }}/temp
namedescription
output-pathPath of the output binary