Skip to content

Commit

Permalink
Setting failed somehwere else
Browse files Browse the repository at this point in the history
  • Loading branch information
d-co-white committed Jun 27, 2024
1 parent 52c0a4a commit 1d8aa05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ async function run() {
core.debug(`Link to scan results: ${scanData.resultsLink} (${typeof scanData.resultsLink})`);
core.debug(`This is the scan id: ${scanData.scanId} (${typeof scanData.scanId})`);
core.setOutput("scanId", scanData.scanId);
if (exitCode !== 0) {
core.setFailed("This failed yo")
}
}

}
Expand Down

0 comments on commit 1d8aa05

Please sign in to comment.