Fix license not passing through

pull/246/head
Andrew Kahr 2023-12-10 02:57:06 -08:00
parent 99aa8ef46d
commit 9414cd6d47
3 changed files with 5 additions and 5 deletions

6
dist/index.js generated vendored
View File

@ -659,14 +659,14 @@ class Input {
}
}
static getFromUser() {
var _a;
var _a, _b;
// Input variables specified in workflow using "with" prop.
const unityVersion = (0, core_1.getInput)('unityVersion') || 'auto';
const customImage = (0, core_1.getInput)('customImage') || '';
const rawProjectPath = (0, core_1.getInput)('projectPath') || '.';
const unityLicensingServer = (0, core_1.getInput)('unityLicensingServer') || '';
const unityLicense = (0, core_1.getInput)('unityLicense') || '';
let unitySerial = (_a = process.env['UNITY_SERIAL']) !== 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 : '';
const customParameters = (0, core_1.getInput)('customParameters') || '';
const testMode = ((0, core_1.getInput)('testMode') || 'all').toLowerCase();
const coverageOptions = (0, core_1.getInput)('coverageOptions') || '';

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -87,7 +87,7 @@ class Input {
const customImage = getInput('customImage') || '';
const rawProjectPath = getInput('projectPath') || '.';
const unityLicensingServer = getInput('unityLicensingServer') || '';
const unityLicense = getInput('unityLicense') || '';
const unityLicense = getInput('unityLicense') || (process.env['UNITY_LICENSE'] ?? '');
let unitySerial = process.env['UNITY_SERIAL'] ?? '';
const customParameters = getInput('customParameters') || '';
const testMode = (getInput('testMode') || 'all').toLowerCase();