Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions .github/workflows/bat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'));

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down