Accept PascalCase for testmodes EditMode and PlayMode

pull/115/head
Webber 2021-05-09 18:19:08 +02:00
parent 73c6b8aa34
commit 95f97d8244
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class Input {
// Input variables specified in workflow using "with" prop. // Input variables specified in workflow using "with" prop.
const rawUnityVersion = getInput('unityVersion') || 'auto'; const rawUnityVersion = getInput('unityVersion') || 'auto';
const customImage = getInput('customImage') || ''; const customImage = getInput('customImage') || '';
const testMode = getInput('testMode') || 'all'; const testMode = (getInput('testMode') || 'all').toLowerCase();
const rawProjectPath = getInput('projectPath') || '.'; const rawProjectPath = getInput('projectPath') || '.';
const rawArtifactsPath = getInput('artifactsPath') || 'artifacts'; const rawArtifactsPath = getInput('artifactsPath') || 'artifacts';
const rawUseHostNetwork = getInput('useHostNetwork') || 'false'; const rawUseHostNetwork = getInput('useHostNetwork') || 'false';