Add nodejs as build step dependency

pull/353/head
Frostebite 2022-03-16 23:11:05 +00:00
parent c5d2d8d27b
commit 9b623cdeaa
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -266,7 +266,7 @@ class BuildParameters {
const androidSdkManagerParameters = android_versioning_1.default.determineSdkManagerParameters(input_1.default.androidTargetSdkVersion); const androidSdkManagerParameters = android_versioning_1.default.determineSdkManagerParameters(input_1.default.androidTargetSdkVersion);
yield input_1.default.PopulateQueryOverrideInput(); yield input_1.default.PopulateQueryOverrideInput();
let unitySerial = ''; let unitySerial = '';
if (!process.env.UNITY_SERIAL) { if (!process.env.UNITY_SERIAL && input_1.default.githubInputEnabled && input_1.default.cliOptions === undefined) {
//No serial was present so it is a personal license that we need to convert //No serial was present so it is a personal license that we need to convert
if (!process.env.UNITY_LICENSE) { if (!process.env.UNITY_LICENSE) {
throw new Error(`Missing Unity License File and no Serial was found. If this throw new Error(`Missing Unity License File and no Serial was found. If this

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -75,7 +75,7 @@ class BuildParameters {
await Input.PopulateQueryOverrideInput(); await Input.PopulateQueryOverrideInput();
let unitySerial = ''; let unitySerial = '';
if (!process.env.UNITY_SERIAL) { if (!process.env.UNITY_SERIAL && Input.githubInputEnabled && Input.cliOptions === undefined) {
//No serial was present so it is a personal license that we need to convert //No serial was present so it is a personal license that we need to convert
if (!process.env.UNITY_LICENSE) { if (!process.env.UNITY_LICENSE) {
throw new Error(`Missing Unity License File and no Serial was found. If this throw new Error(`Missing Unity License File and no Serial was found. If this