diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d23bbb7..1a69539 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,6 +40,9 @@ jobs: - name: Format run: npm run format-check + - name: Run Unit Tests + run: npm test + - name: Create artifacts run: | mkdir -p path/to/artifact-A diff --git a/dist/index.js b/dist/index.js index 50a0229..d0a4ebc 100644 --- a/dist/index.js +++ b/dist/index.js @@ -118857,10 +118857,10 @@ 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; diff --git a/src/download-artifact.ts b/src/download-artifact.ts index 69aaa10..1beef4d 100644 --- a/src/download-artifact.ts +++ b/src/download-artifact.ts @@ -138,10 +138,10 @@ export async function run(): Promise { ) } } - core.info(`Total of ${artifacts.length} artifact(s) downloaded`) - core.setOutput(Outputs.DownloadPath, resolvedPath) - core.info('Download artifact has finished successfully') } + core.info(`Total of ${artifacts.length} artifact(s) downloaded`) + core.setOutput(Outputs.DownloadPath, resolvedPath) + core.info('Download artifact has finished successfully') } run().catch(err =>