diff --git a/.github/workflows/bat.yml b/.github/workflows/bat.yml index b137eec..133793b 100644 --- a/.github/workflows/bat.yml +++ b/.github/workflows/bat.yml @@ -96,11 +96,12 @@ jobs: env: MY_VAR: my_value - # Remove when online batch licensing is the default - - name: Verify MW_BATCH_LICENSING_ONLINE variable set - uses: ./ - with: - command: exp = 'true', act = getenv('MW_BATCH_LICENSING_ONLINE'), assert(strcmp(act, exp), strjoin({act exp}, '\n')); - env: - MY_VAR: my_value + # Disabled while we work out online licensing kinks + # # Remove when online batch licensing is the default + # - name: Verify MW_BATCH_LICENSING_ONLINE variable set + # uses: ./ + # with: + # command: exp = 'true', act = getenv('MW_BATCH_LICENSING_ONLINE'), assert(strcmp(act, exp), strjoin({act exp}, '\n')); + # env: + # MY_VAR: my_value diff --git a/src/index.ts b/src/index.ts index 6067c87..60696a7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -18,7 +18,7 @@ async function run() { const helperScript = await matlab.generateScript(workspaceDir, command); const execOpts = { - env: {...process.env, MW_BATCH_LICENSING_ONLINE:'true'} // remove when online batch licensing is the default + // env: {...process.env, MW_BATCH_LICENSING_ONLINE:'true'} // Disabled while we work out online licensing kinks }; await matlab.runCommand(helperScript, platform, architecture, (cmd,args)=>exec.exec(cmd,args,execOpts), startupOpts); }