Accept PascalCase for testmodes EditMode and PlayMode (#115)

* Accept PascalCase for testmodes EditMode and PlayMode

* update index
This commit is contained in:
Webber Takken
2021-05-09 18:35:40 +02:00
committed by GitHub
parent 73c6b8aa34
commit 1fcc491cbe
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';