Add input tests

This commit is contained in:
Nick Cipollo
2019-08-26 13:55:21 -04:00
parent 488aa36d03
commit e14d7835e1
3 changed files with 37 additions and 17 deletions

View File

@@ -3,12 +3,12 @@ import { GitHub } from "@actions/github";
import { Response, ReposCreateReleaseResponse } from "@octokit/rest";
export class Releases {
context: Context;
git: GitHub;
context: Context
git: GitHub
constructor(context: Context, git: GitHub) {
this.context = context;
this.git = git;
this.context = context
this.git = git
}
async create(tag: string, commitHash?: string): Promise<Response<ReposCreateReleaseResponse>> {