From 9b14e2e2d309f16c05eb06e255faffe9892a749d Mon Sep 17 00:00:00 2001 From: Nick Cipollo Date: Sun, 21 Mar 2021 20:00:17 -0400 Subject: [PATCH] Respect artifactErrorsFailBuild in production builds --- src/Main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.ts b/src/Main.ts index 3a93692..f4123ac 100644 --- a/src/Main.ts +++ b/src/Main.ts @@ -25,7 +25,7 @@ function createAction(): Action { const inputs = new CoreInputs(globber, context) const releases = new GithubReleases(inputs, git) - const uploader = new GithubArtifactUploader(releases, inputs.replacesArtifacts) + const uploader = new GithubArtifactUploader(releases, inputs.replacesArtifacts, inputs.artifactErrorsFailBuild) return new Action(inputs, releases, uploader) }