From bd9c0f996d85ede7fe190b4bef142819f497cc35 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 --- src/internal/download-http-client.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/internal/download-http-client.ts b/src/internal/download-http-client.ts index 10b59dd..7fb06a4 100644 --- a/src/internal/download-http-client.ts +++ b/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 }