From a8cbf3c997e4551224c68178a5161201a204dc37 Mon Sep 17 00:00:00 2001 From: Florian Gessner Date: Sun, 22 May 2022 10:39:24 +0200 Subject: [PATCH] add distribution files --- 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 d9d1010..2f06e9e 100644 --- a/dist/post_run/index.js +++ b/dist/post_run/index.js @@ -68277,7 +68277,8 @@ function runLint(lintPath, patchPath) { if (userArgNames.has(`out-format`)) { throw new Error(`please, don't change out-format for golangci-lint: it can be broken in a future`); } - addedArgs.push(`--out-format=github-actions`); + const outputFile = core.getInput(`output-file`, { required: false }).trim(); + addedArgs.push(`--out-format=github-actions${outputFile ? "," + outputFile : ""}`); if (patchPath) { if (userArgNames.has(`new`) || userArgNames.has(`new-from-rev`) || userArgNames.has(`new-from-patch`)) { throw new Error(`please, don't specify manually --new* args when requesting only new issues`); diff --git a/dist/run/index.js b/dist/run/index.js index ff0df9a..d39fda7 100644 --- a/dist/run/index.js +++ b/dist/run/index.js @@ -68277,7 +68277,8 @@ function runLint(lintPath, patchPath) { if (userArgNames.has(`out-format`)) { throw new Error(`please, don't change out-format for golangci-lint: it can be broken in a future`); } - addedArgs.push(`--out-format=github-actions`); + const outputFile = core.getInput(`output-file`, { required: false }).trim(); + addedArgs.push(`--out-format=github-actions${outputFile ? "," + outputFile : ""}`); if (patchPath) { if (userArgNames.has(`new`) || userArgNames.has(`new-from-rev`) || userArgNames.has(`new-from-patch`)) { throw new Error(`please, don't specify manually --new* args when requesting only new issues`);