From 1d8aa0587a320a893964ca690d9efba2b001e8e7 Mon Sep 17 00:00:00 2001 From: Dana White Date: Thu, 27 Jun 2024 10:33:04 -0600 Subject: [PATCH] Setting failed somehwere else --- src/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.js b/src/index.js index b80c710..ca473a0 100644 --- a/src/index.js +++ b/src/index.js @@ -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") + } } }