Skip to content

Commit

Permalink
Verify failed tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
nbhoski committed Jul 18, 2024
1 parent aeb7573 commit 3eb91d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions plugins/+ciplugins/+github/GitHubLogPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ function runTask(plugin, pluginData)
[email protected](plugin, pluginData);

% Add Github workflow command ::error:: if the task is failed
if pluginData.TaskResults.Failed
disp("::error::" + pluginData.TaskResults.Name + " task failed");
end
%if pluginData.TaskResults.Failed
% disp("::error::" + pluginData.TaskResults.Name + " task failed");
%end

% Complete the group command
disp("::endgroup::");
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,4 @@ async function run() {

run().catch(e => {
core.setFailed(e);
buildSummary.processAndDisplayBuildSummary();
});

0 comments on commit 3eb91d0

Please sign in to comment.