diff --git a/dist/index.js b/dist/index.js index 428acf2..50a0229 100644 --- a/dist/index.js +++ b/dist/index.js @@ -118760,7 +118760,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.chunk = void 0; +exports.run = exports.chunk = void 0; const os = __importStar(__nccwpck_require__(22037)); const path = __importStar(__nccwpck_require__(71017)); const core = __importStar(__nccwpck_require__(42186)); @@ -118857,12 +118857,13 @@ function run() { core.warning(`Artifact '${artifactName}' digest validation failed. Please verify the integrity of the artifact.`); } } + core.info(`Total of ${artifacts.length} artifact(s) downloaded`); + core.setOutput(constants_1.Outputs.DownloadPath, resolvedPath); + core.info('Download artifact has finished successfully'); } - core.info(`Total of ${artifacts.length} artifact(s) downloaded`); - core.setOutput(constants_1.Outputs.DownloadPath, resolvedPath); - core.info('Download artifact has finished successfully'); }); } +exports.run = run; run().catch(err => core.setFailed(`Unable to download artifact(s): ${err.message}`)); diff --git a/tsconfig.json b/tsconfig.json index fc7559f..316f130 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,5 +9,5 @@ "moduleResolution": "node", "esModuleInterop": true }, - "exclude": ["node_modules", "**/*.test.ts"] + "exclude": ["node_modules", "**/*.test.ts", "jest.config.ts", "__tests__"] } \ No newline at end of file