mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-06-28 07:49:27 +08:00
Supporting both comma and new line as delimiters for manifests
This commit is contained in:
+1
-1
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user