Debugging

pull/246/head
Andrew Kahr 2023-12-10 17:58:30 -08:00
parent 33280cf941
commit b9d4656a63
3 changed files with 16 additions and 1 deletions

7
dist/index.js generated vendored
View File

@ -697,6 +697,12 @@ class Input {
const unityLicensingServer = (0, core_1.getInput)('unityLicensingServer') || '';
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 : '';
if (unitySerial === '') {
core.info('Unity Serial Unset');
}
if (unityLicense === '') {
core.info('Unity License Unset');
}
const customParameters = (0, core_1.getInput)('customParameters') || '';
const testMode = ((0, core_1.getInput)('testMode') || 'all').toLowerCase();
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
serial number inside the UNITY_SERIAL GitHub secret.`);
}
core.info('Decoding license');
unitySerial = this.getSerialFromLicenseFile(unityLicense);
}
if (unitySerial !== undefined && unitySerial.length === 27) {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -89,6 +89,13 @@ class Input {
const unityLicensingServer = getInput('unityLicensingServer') || '';
const unityLicense = getInput('unityLicense') || (process.env['UNITY_LICENSE'] ?? '');
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 testMode = (getInput('testMode') || 'all').toLowerCase();
const coverageOptions = getInput('coverageOptions') || '';
@ -187,6 +194,7 @@ class Input {
serial number inside the UNITY_SERIAL GitHub secret.`,
);
}
core.info('Decoding license');
unitySerial = this.getSerialFromLicenseFile(unityLicense);
}