Supporting both comma and new line as delimiters for manifests

This commit is contained in:
Ganeshrockz
2021-04-14 14:14:06 +05:30
parent 4f6b70e29a
commit 8d257fed50
3 changed files with 65 additions and 2 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ export async function run() {
namespace = 'default';
}
let action = core.getInput('action');
let manifests = manifestsInput.split('\n');
let manifests = manifestsInput.split(/[\n,]+/);
if (action === 'deploy') {
let strategy = core.getInput('strategy');