Skip to content

Commit 4faa624

Browse files
committed
Disable online licensing
1 parent dd492ea commit 4faa624

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/bat.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,12 @@ jobs:
9696
env:
9797
MY_VAR: my_value
9898

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'));
104-
env:
105-
MY_VAR: my_value
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
106107

src/index.ts

+1-1
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'} // remove when online batch licensing is the default
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)