Skip to content

Commit

Permalink
v1.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
gcooney committed Nov 12, 2019
1 parent 32a3e6d commit ebac7ff
Show file tree
Hide file tree
Showing 9 changed files with 554 additions and 320 deletions.
10 changes: 5 additions & 5 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,15 @@ function run() {
core.setOutput('plans_run', '' + finalExecutionResult.plan_execution_metrics.total);
core.setOutput('plans_passed', '' + finalExecutionResult.plan_execution_metrics.passed);
core.setOutput('plans_failed', '' + finalExecutionResult.plan_execution_metrics.failed);
core.setOutput('journeys_run', '' + finalExecutionResult.plan_execution_metrics.total);
core.setOutput('journeys_passed', '' + finalExecutionResult.plan_execution_metrics.passed);
core.setOutput('journeys_failed', '' + finalExecutionResult.plan_execution_metrics.failed);
if (finalExecutionResult.plan_execution_metrics.failed === 0) {
core.setOutput('journeys_run', '' + finalExecutionResult.journey_execution_metrics.total);
core.setOutput('journeys_passed', '' + finalExecutionResult.journey_execution_metrics.passed);
core.setOutput('journeys_failed', '' + finalExecutionResult.journey_execution_metrics.failed);
if (finalExecutionResult.journey_execution_metrics.failed === 0) {
core.debug('Deployment plans passed');
}
else if (continueOnPlanFailure) {
core.warning(`There were ${finalExecutionResult.journey_execution_metrics.failed} journey failures but the continueOnPlanFailure flag is set so the task has been marked as passing`);
core.setNeutral();
// core.setNeutral(); Todo Set neutral when support is added to actions v2
}
else {
core.setFailed(`${finalExecutionResult.journey_execution_metrics.failed} mabl Journey(s) failed`);
Expand Down
147 changes: 140 additions & 7 deletions node_modules/@actions/core/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions node_modules/@actions/core/lib/command.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

130 changes: 65 additions & 65 deletions node_modules/@actions/core/lib/command.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/@actions/core/lib/command.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ebac7ff

Please sign in to comment.