Skip to content

Commit 53f7483

Browse files
committed
update field name to generate-summary
1 parent 7c7c77f commit 53f7483

4 files changed

Lines changed: 11 additions & 15 deletions

File tree

.github/workflows/bat.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,6 @@ jobs:
119119
uses: ./
120120
with:
121121
command: buildtool preMadeTest
122-
- name: Run command with buildtool multiple times with pre-made test task (sanity check for build summary)
123-
uses: ./
124-
with:
125-
command: buildtool preMadeTest; buildtool preMadeTest; buildtool preMadeTest;
126122
- name: Verify environment variables make it to MATLAB
127123
uses: ./
128124
with:

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ inputs:
1313
Startup options for MATLAB
1414
required: false
1515
default: ""
16-
generate-job-summary:
16+
generate-summary:
1717
description: >-
1818
Whether to generate a MATLAB-related job summary for the workflow run
1919
required: false

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ async function run() {
1414

1515
const command = core.getInput("command");
1616
const startupOpts = core.getInput("startup-options").split(" ");
17-
const generateJobSummary = core.getBooleanInput("generate-job-summary");
17+
const generateSummary = core.getBooleanInput("generate-summary");
1818

1919
const helperScript = await matlab.generateScript(workspaceDir, command);
2020
const execOpts = {
2121
env: {
2222
...process.env,
2323
MW_BATCH_LICENSING_ONLINE: "true", // Remove when online batch licensing is the default
2424
MW_MATLAB_BUILDTOOL_DEFAULT_PLUGINS_FCN_OVERRIDE: "buildframework.getDefaultPlugins",
25-
MW_GENERATE_JOB_SUMMARY: String(generateJobSummary),
25+
MW_GENERATE_SUMMARY: String(generateSummary),
2626
},
2727
};
2828
await matlab
@@ -34,7 +34,7 @@ async function run() {
3434
startupOpts,
3535
)
3636
.finally(() => {
37-
if (generateJobSummary) {
37+
if (generateSummary) {
3838
const runnerTemp = process.env.RUNNER_TEMP || "";
3939
const runId = process.env.GITHUB_RUN_ID || "";
4040
const actionName = process.env.GITHUB_ACTION || "";

0 commit comments

Comments
 (0)