From e5bae7fd02a27916eb66bfcdf8be63aa12a98707 Mon Sep 17 00:00:00 2001 From: Minionguyjpro Date: Mon, 11 Dec 2023 16:04:36 +0100 Subject: [PATCH] Update index.js --- dist/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dist/index.js b/dist/index.js index 8c7c526..f60305a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -15,11 +15,14 @@ if (process.platform === 'win32') { console.log(stdout); if (error) { core.error(stderr); + exit(1); } }); } else { core.error('Error: The repository was not cloned. Please specify the actions/checkout action before this step.'); + exit(1); } } else { core.error('Error: This action is only supported on Windows!'); + exit(1); }