Skip to content

Commit ce9cb79

Browse files
committed
Set MW_BATCH_LICENSING_ONLINE to true
1 parent bef25aa commit ce9cb79

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/bat.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,9 @@ jobs:
9696
env:
9797
MY_VAR: my_value
9898

99-
# Disabled while we work out online licensing kinks
100-
# # Remove when online batch licensing is the default
101-
# - name: Verify MW_BATCH_LICENSING_ONLINE variable set
102-
# uses: ./
103-
# with:
104-
# command: exp = 'true', act = getenv('MW_BATCH_LICENSING_ONLINE'), assert(strcmp(act, exp), strjoin({act exp}, '\n'));
105-
# env:
106-
# MY_VAR: my_value
99+
# Remove when online batch licensing is the default
100+
- name: Verify MW_BATCH_LICENSING_ONLINE variable set
101+
uses: ./
102+
with:
103+
command: exp = 'true', act = getenv('MW_BATCH_LICENSING_ONLINE'), assert(strcmp(act, exp), strjoin({act exp}, '\n'));
107104

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function run() {
1818

1919
const helperScript = await matlab.generateScript(workspaceDir, command);
2020
const execOpts = {
21-
// env: {...process.env, MW_BATCH_LICENSING_ONLINE:'true'} // Disabled while we work out online licensing kinks
21+
env: {...process.env, MW_BATCH_LICENSING_ONLINE:'true'} // Disabled while we work out online licensing kinks
2222
};
2323
await matlab.runCommand(helperScript, platform, architecture, (cmd,args)=>exec.exec(cmd,args,execOpts), startupOpts);
2424
}

0 commit comments

Comments
 (0)