diff --git a/.github/workflows/bat.yml b/.github/workflows/bat.yml index 133793b..3ee7e00 100644 --- a/.github/workflows/bat.yml +++ b/.github/workflows/bat.yml @@ -96,12 +96,9 @@ jobs: 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 + # 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')); diff --git a/src/index.ts b/src/index.ts index 60696a7..e049d8c 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'} // Disabled while we work out online licensing kinks + env: {...process.env, MW_BATCH_LICENSING_ONLINE:'true'} // Remove when online batch licensing is the default }; await matlab.runCommand(helperScript, platform, architecture, (cmd,args)=>exec.exec(cmd,args,execOpts), startupOpts); }