Skip to content

Commit

Permalink
Adding step to validate and set the action final result code
Browse files Browse the repository at this point in the history
  • Loading branch information
theolm committed Oct 27, 2024
1 parent e119ccf commit c973f69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action_result.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ try {
if (report.contains("status=\"ERROR\"")) {
resultCode = 1
}
println(report)
} catch (e: Exception) {
resultCode = 1
}
Expand Down

0 comments on commit c973f69

Please sign in to comment.