Do not serialize custom job parameter
parent
53ebd09102
commit
d4d10abfa4
|
|
@ -36,14 +36,14 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
cloudRunnerCluster:
|
||||
- aws
|
||||
#- aws
|
||||
- local-docker
|
||||
- k8s
|
||||
#- k8s
|
||||
targetPlatform:
|
||||
#- StandaloneOSX # Build a macOS standalone (Intel 64-bit).
|
||||
- StandaloneWindows64 # Build a Windows 64-bit standalone.
|
||||
- StandaloneLinux64 # Build a Linux 64-bit standalone.
|
||||
- WebGL # WebGL.
|
||||
#- WebGL # WebGL.
|
||||
#- iOS # Build an iOS player.
|
||||
#- Android # Build an Android .apk.
|
||||
# - StandaloneWindows # Build a Windows standalone.
|
||||
|
|
|
|||
|
|
@ -45,9 +45,14 @@ const mac_builder_1 = __importDefault(__nccwpck_require__(39364));
|
|||
const platform_setup_1 = __importDefault(__nccwpck_require__(64423));
|
||||
function runMain() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
if (cli_1.Cli.InitCliMode()) {
|
||||
yield cli_1.Cli.RunCli();
|
||||
return;
|
||||
try {
|
||||
if (cli_1.Cli.InitCliMode()) {
|
||||
yield cli_1.Cli.RunCli();
|
||||
return;
|
||||
}
|
||||
}
|
||||
catch (error) {
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
model_1.Action.checkCompatibility();
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
10
src/index.ts
10
src/index.ts
|
|
@ -4,10 +4,14 @@ import { Cli } from './model/cli/cli';
|
|||
import MacBuilder from './model/mac-builder';
|
||||
import PlatformSetup from './model/platform-setup';
|
||||
async function runMain() {
|
||||
if (Cli.InitCliMode()) {
|
||||
await Cli.RunCli();
|
||||
try {
|
||||
if (Cli.InitCliMode()) {
|
||||
await Cli.RunCli();
|
||||
|
||||
return;
|
||||
return;
|
||||
}
|
||||
} catch (error) {
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
Action.checkCompatibility();
|
||||
|
|
|
|||
Loading…
Reference in New Issue