feat: add buildProfile parameter (#685)

* feat: add `buildProfile` parameter

add new `buildProfile` action param, which will be passed into
Unity as the `-activeBuildProfile ...` CLI param.

closes https://github.com/game-ci/unity-builder/issues/674

* ci: add tests for Unity 6 and build profiles
This commit is contained in:
Michael Buhler
2025-02-18 00:41:38 +07:00
committed by GitHub
parent 3ae9ec8536
commit 9d6bdcbdc5
18 changed files with 246 additions and 44 deletions

View File

@@ -107,6 +107,10 @@ class Input {
return rawProjectPath.replace(/\/$/, '');
}
static get buildProfile(): string {
return Input.getInput('buildProfile') ?? '';
}
static get runnerTempPath(): string {
return Input.getInput('RUNNER_TEMP') ?? '';
}