Add action

This commit is contained in:
Nick Cipollo
2019-08-26 21:26:25 -04:00
parent 028c2af361
commit ef24c2a7b5
2 changed files with 108 additions and 28 deletions

View File

@@ -17,7 +17,8 @@ export class Action {
this.inputs.body,
this.inputs.commit,
this.inputs.draft,
this.inputs.name)
this.inputs.name
)
if (this.inputs.artifact) {
await this.releases.uploadArtifact(
@@ -25,7 +26,8 @@ export class Action {
this.inputs.artifactContentLength,
this.inputs.artifactContentType,
this.inputs.artifact,
basename(this.inputs.artifact))
basename(this.inputs.artifact)
)
}
}
}