Skip to content

Commit 5e23adc

Browse files
committed
update verification
1 parent d167b48 commit 5e23adc

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/bat.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ jobs:
112112
with:
113113
command: >
114114
buildtool preMadeTest;
115-
assert(contains(getenv('GITHUB_STEP_SUMMARY'), 'MATLAB Build Results'));
116-
assert(contains(getenv('GITHUB_STEP_SUMMARY'), 'MATLAB Test Results'));
115+
assert(contains(fileread(getenv('GITHUB_STEP_SUMMARY')), 'MATLAB Build Results'));
116+
assert(contains(fileread(getenv('GITHUB_STEP_SUMMARY')), 'MATLAB Test Results'));
117117
- name: Verify environment variables make it to MATLAB
118118
uses: ./
119119
with:

src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ async function run() {
3232
const actionName = process.env.GITHUB_ACTION || '';
3333

3434
buildSummary.processAndAddBuildSummary(runnerTemp, runId, actionName);
35-
3635
testResultsSummary.processAndAddTestSummary(runnerTemp, runId, actionName, workspaceDir);
37-
3836
core.summary.write();
3937
});
4038
}

0 commit comments

Comments
 (0)