From 95f97d8244ad48cc776f1f1530cf5829f16007c5 Mon Sep 17 00:00:00 2001 From: Webber Date: Sun, 9 May 2021 18:19:08 +0200 Subject: [PATCH] Accept PascalCase for testmodes EditMode and PlayMode --- src/model/input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/input.js b/src/model/input.js index 683b9d2..a8cecf9 100644 --- a/src/model/input.js +++ b/src/model/input.js @@ -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';