From 18228c6e6d6a8bc330026ce92e655d4c4b68708c Mon Sep 17 00:00:00 2001 From: Trym Lund Flogard Date: Wed, 2 Jun 2021 18:39:26 +0200 Subject: [PATCH] test --- src/nextcloud-artifacts.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nextcloud-artifacts.ts b/src/nextcloud-artifacts.ts index 85bbc71..bdc4e32 100644 --- a/src/nextcloud-artifacts.ts +++ b/src/nextcloud-artifacts.ts @@ -4,7 +4,8 @@ import * as core from '@actions/core'; try { var artifact = new NextcloudArtifact(Inputs.ArtifactName, Inputs.ArtifactPath, Inputs.NoFileBehvaior); - artifact.run(); + artifact.run() + .catch(e => core.setFailed(e)); } catch (error) { core.setFailed(error.message); }