This commit is contained in:
Dor Fire 2023-02-20 10:22:16 +02:00
parent 847c2109a5
commit 5fe51d05e5
2 changed files with 4 additions and 2 deletions

View file

@ -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 = "";

3
dist/run/index.js vendored
View file

@ -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 = "";