diff --git a/src/index.ts b/src/index.ts index d1fcd66..b656808 100644 --- a/src/index.ts +++ b/src/index.ts @@ -22,13 +22,13 @@ async function run() { const startupOptions = core.getInput("startup-options").split(" "); const helperScript = await matlab.generateScript(workspaceDir, command); - const customEnv = { + const envVars = { ...process.env, "MW_MATLAB_BUILDTOOL_DEFAULT_PLUGINS_FCN_OVERRIDE":"ciplugins.github.getDefaultPlugins", }; const execOptions: exec.ExecOptions = { - env: customEnv, + env: envVars, }; await matlab.runCommand(helperScript, platform, architecture, (cmd,args)=>exec.exec(cmd,args,execOptions), startupOptions);