From 5fe51d05e5681d9b0604cbb31a75e9d98ac3d2e6 Mon Sep 17 00:00:00 2001 From: Dor Fire Date: Mon, 20 Feb 2023 10:22:16 +0200 Subject: [PATCH] built --- dist/post_run/index.js | 3 ++- dist/run/index.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/post_run/index.js b/dist/post_run/index.js index b3f81b6..4e2fb64 100644 --- a/dist/post_run/index.js +++ b/dist/post_run/index.js @@ -67685,7 +67685,8 @@ function installLint(versionConfig) { return __awaiter(this, void 0, void 0, function* () { core.info(`Installing golangci-lint ${versionConfig.TargetVersion}...`); const startedAt = Date.now(); - const assetURL = getAssetURL(versionConfig); + core.info(`asset-url: ${core.getInput('asset-url')}`); + const assetURL = core.getInput('asset-url') || getAssetURL(versionConfig); core.info(`Downloading ${assetURL} ...`); const archivePath = yield tc.downloadTool(assetURL); let extractedDir = ""; diff --git a/dist/run/index.js b/dist/run/index.js index b7a245f..64f5b3f 100644 --- a/dist/run/index.js +++ b/dist/run/index.js @@ -67685,7 +67685,8 @@ function installLint(versionConfig) { return __awaiter(this, void 0, void 0, function* () { core.info(`Installing golangci-lint ${versionConfig.TargetVersion}...`); const startedAt = Date.now(); - const assetURL = getAssetURL(versionConfig); + core.info(`asset-url: ${core.getInput('asset-url')}`); + const assetURL = core.getInput('asset-url') || getAssetURL(versionConfig); core.info(`Downloading ${assetURL} ...`); const archivePath = yield tc.downloadTool(assetURL); let extractedDir = "";