Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ Set scripting define symbols. For example, `RELEASE_VERSION;ENG_VERSION`. Only f

List of additional [BuildOptions](https://docs.unity3d.com/ScriptReference/BuildOptions.html). For example, `SymlinkLibraries, CompressWithLz4HC`. Only for default build method.

### `android-keystore-name`

The keystore name will be used in the build. Only for default build method.

### `android-keystore-base64`

The base64 contents of the android keystore file. Only for default build method.
Expand Down
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ inputs:
build-defines:
description: Set scripting define symbols. For example, RELEASE_VERSION;ENG_VERSION. Only for default build method
required: false
android-keystore-name:
description: The keystore name will be used in the build. Only for default build method.
required: false
android-keystore-base64:
description: The base64 contents of the android keystore file. Only for default build method
required: false
Expand Down
4 changes: 4 additions & 0 deletions src/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ async function run() {
const buildNumber = core.getInput('build-number');
const buildDefines = core.getInput('build-defines');
const buildOptions = core.getInput('build-options');
const androidKeystoreName = core.getInput('android-keystore-name');
const androidKeystoreBase64 = core.getInput('android-keystore-base64');
const androidKeystorePass = core.getInput('android-keystore-pass');
const androidKeyaliasName = core.getInput('android-keyalias-name');
Expand Down Expand Up @@ -56,6 +57,9 @@ async function run() {
if (buildOptions) {
buildArgs += ` -buildOptions "${buildOptions}"`;
}
if (androidKeystoreName) {
buildArgs += ` -androidKeystoreName "${androidKeystoreName}"`
}
if (androidKeystoreBase64) {
buildArgs += ` -androidKeystoreBase64 "${androidKeystoreBase64}"`;
}
Expand Down