Debugging
parent
33280cf941
commit
b9d4656a63
|
@ -697,6 +697,12 @@ class Input {
|
||||||
const unityLicensingServer = (0, core_1.getInput)('unityLicensingServer') || '';
|
const unityLicensingServer = (0, core_1.getInput)('unityLicensingServer') || '';
|
||||||
const unityLicense = (0, core_1.getInput)('unityLicense') || ((_a = process.env['UNITY_LICENSE']) !== null && _a !== void 0 ? _a : '');
|
const unityLicense = (0, core_1.getInput)('unityLicense') || ((_a = process.env['UNITY_LICENSE']) !== null && _a !== void 0 ? _a : '');
|
||||||
let unitySerial = (_b = process.env['UNITY_SERIAL']) !== null && _b !== void 0 ? _b : '';
|
let unitySerial = (_b = process.env['UNITY_SERIAL']) !== null && _b !== void 0 ? _b : '';
|
||||||
|
if (unitySerial === '') {
|
||||||
|
core.info('Unity Serial Unset');
|
||||||
|
}
|
||||||
|
if (unityLicense === '') {
|
||||||
|
core.info('Unity License Unset');
|
||||||
|
}
|
||||||
const customParameters = (0, core_1.getInput)('customParameters') || '';
|
const customParameters = (0, core_1.getInput)('customParameters') || '';
|
||||||
const testMode = ((0, core_1.getInput)('testMode') || 'all').toLowerCase();
|
const testMode = ((0, core_1.getInput)('testMode') || 'all').toLowerCase();
|
||||||
const coverageOptions = (0, core_1.getInput)('coverageOptions') || '';
|
const coverageOptions = (0, core_1.getInput)('coverageOptions') || '';
|
||||||
|
@ -775,6 +781,7 @@ class Input {
|
||||||
steps and set the UNITY_LICENSE GitHub secret or enter a Unity
|
steps and set the UNITY_LICENSE GitHub secret or enter a Unity
|
||||||
serial number inside the UNITY_SERIAL GitHub secret.`);
|
serial number inside the UNITY_SERIAL GitHub secret.`);
|
||||||
}
|
}
|
||||||
|
core.info('Decoding license');
|
||||||
unitySerial = this.getSerialFromLicenseFile(unityLicense);
|
unitySerial = this.getSerialFromLicenseFile(unityLicense);
|
||||||
}
|
}
|
||||||
if (unitySerial !== undefined && unitySerial.length === 27) {
|
if (unitySerial !== undefined && unitySerial.length === 27) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -89,6 +89,13 @@ class Input {
|
||||||
const unityLicensingServer = getInput('unityLicensingServer') || '';
|
const unityLicensingServer = getInput('unityLicensingServer') || '';
|
||||||
const unityLicense = getInput('unityLicense') || (process.env['UNITY_LICENSE'] ?? '');
|
const unityLicense = getInput('unityLicense') || (process.env['UNITY_LICENSE'] ?? '');
|
||||||
let unitySerial = process.env['UNITY_SERIAL'] ?? '';
|
let unitySerial = process.env['UNITY_SERIAL'] ?? '';
|
||||||
|
if (unitySerial === '') {
|
||||||
|
core.info('Unity Serial Unset');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (unityLicense === '') {
|
||||||
|
core.info('Unity License Unset');
|
||||||
|
}
|
||||||
const customParameters = getInput('customParameters') || '';
|
const customParameters = getInput('customParameters') || '';
|
||||||
const testMode = (getInput('testMode') || 'all').toLowerCase();
|
const testMode = (getInput('testMode') || 'all').toLowerCase();
|
||||||
const coverageOptions = getInput('coverageOptions') || '';
|
const coverageOptions = getInput('coverageOptions') || '';
|
||||||
|
@ -187,6 +194,7 @@ class Input {
|
||||||
serial number inside the UNITY_SERIAL GitHub secret.`,
|
serial number inside the UNITY_SERIAL GitHub secret.`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
core.info('Decoding license');
|
||||||
unitySerial = this.getSerialFromLicenseFile(unityLicense);
|
unitySerial = this.getSerialFromLicenseFile(unityLicense);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue