Update imports

This commit is contained in:
Corey Butler 2020-04-01 13:35:18 -05:00
parent dcbf76b3cc
commit dd7e2f72ba

View File

@ -4,9 +4,8 @@ import gh from '@actions/github'
// Get authenticated GitHub client (Ocktokit): https://github.com/actions/toolkit/tree/master/packages/github#usage
const github = new gh.GitHub(process.env.GITHUB_TOKEN || process.env.INPUT_GITHUB_TOKEN)
const context = github.context
// Get owner and repo from context of payload that triggered the action
const { owner, repo } = context.repo
const { owner, repo } = gh.context
export default class Tag {
constructor (prefix, version, postfix) {