From d4e990d92ff6327891726a6446253aed9d2d1a01 Mon Sep 17 00:00:00 2001 From: Yang Cao Date: Thu, 3 Dec 2020 13:09:43 -0500 Subject: [PATCH] Always print skip validation log --- packages/artifact/src/internal/download-http-client.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/artifact/src/internal/download-http-client.ts b/packages/artifact/src/internal/download-http-client.ts index 10b59ddf..7fb06a4b 100644 --- a/packages/artifact/src/internal/download-http-client.ts +++ b/packages/artifact/src/internal/download-http-client.ts @@ -213,11 +213,7 @@ export class DownloadHttpClient { !received || process.env['ACTIONS_ARTIFACT_SKIP_DOWNLOAD_VALIDATION'] ) { - if (process.env['ACTIONS_ARTIFACT_SKIP_DOWNLOAD_VALIDATION']) { - core.info( - 'Skipping download validation since environment variable is set' - ) - } + core.info('Skipping download validation.') return true }