Accept PascalCase for testmodes EditMode and PlayMode (#115)

* Accept PascalCase for testmodes EditMode and PlayMode

* update index
pull/116/head v2.0-alpha-5
Webber Takken 2021-05-09 18:35:40 +02:00 committed by GitHub
parent 73c6b8aa34
commit 1fcc491cbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

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