This commit is contained in:
Trym Lund Flogard 2021-06-02 18:39:26 +02:00
parent 70ba52c79f
commit 18228c6e6d

View File

@ -4,7 +4,8 @@ import * as core from '@actions/core';
try { try {
var artifact = new NextcloudArtifact(Inputs.ArtifactName, Inputs.ArtifactPath, Inputs.NoFileBehvaior); var artifact = new NextcloudArtifact(Inputs.ArtifactName, Inputs.ArtifactPath, Inputs.NoFileBehvaior);
artifact.run(); artifact.run()
.catch(e => core.setFailed(e));
} catch (error) { } catch (error) {
core.setFailed(error.message); core.setFailed(error.message);
} }