Fix license not passing through
parent
99aa8ef46d
commit
9414cd6d47
|
@ -659,14 +659,14 @@ class Input {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
static getFromUser() {
|
static getFromUser() {
|
||||||
var _a;
|
var _a, _b;
|
||||||
// Input variables specified in workflow using "with" prop.
|
// Input variables specified in workflow using "with" prop.
|
||||||
const unityVersion = (0, core_1.getInput)('unityVersion') || 'auto';
|
const unityVersion = (0, core_1.getInput)('unityVersion') || 'auto';
|
||||||
const customImage = (0, core_1.getInput)('customImage') || '';
|
const customImage = (0, core_1.getInput)('customImage') || '';
|
||||||
const rawProjectPath = (0, core_1.getInput)('projectPath') || '.';
|
const rawProjectPath = (0, core_1.getInput)('projectPath') || '.';
|
||||||
const unityLicensingServer = (0, core_1.getInput)('unityLicensingServer') || '';
|
const unityLicensingServer = (0, core_1.getInput)('unityLicensingServer') || '';
|
||||||
const unityLicense = (0, core_1.getInput)('unityLicense') || '';
|
const unityLicense = (0, core_1.getInput)('unityLicense') || ((_a = process.env['UNITY_LICENSE']) !== null && _a !== void 0 ? _a : '');
|
||||||
let unitySerial = (_a = process.env['UNITY_SERIAL']) !== 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 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') || '';
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -87,7 +87,7 @@ class Input {
|
||||||
const customImage = getInput('customImage') || '';
|
const customImage = getInput('customImage') || '';
|
||||||
const rawProjectPath = getInput('projectPath') || '.';
|
const rawProjectPath = getInput('projectPath') || '.';
|
||||||
const unityLicensingServer = getInput('unityLicensingServer') || '';
|
const unityLicensingServer = getInput('unityLicensingServer') || '';
|
||||||
const unityLicense = getInput('unityLicense') || '';
|
const unityLicense = getInput('unityLicense') || (process.env['UNITY_LICENSE'] ?? '');
|
||||||
let unitySerial = process.env['UNITY_SERIAL'] ?? '';
|
let unitySerial = process.env['UNITY_SERIAL'] ?? '';
|
||||||
const customParameters = getInput('customParameters') || '';
|
const customParameters = getInput('customParameters') || '';
|
||||||
const testMode = (getInput('testMode') || 'all').toLowerCase();
|
const testMode = (getInput('testMode') || 'all').toLowerCase();
|
||||||
|
|
Loading…
Reference in New Issue