This commit is contained in:
Corey Butler 2020-04-01 14:03:12 -05:00
parent f4ff848c8e
commit 3f4bae1fc4

View File

@ -6,7 +6,7 @@ import gh from '@actions/github'
const github = new gh.GitHub(process.env.GITHUB_TOKEN || process.env.INPUT_GITHUB_TOKEN)
// Get owner and repo from context of payload that triggered the action
const { owner, repo } = gh.context
core.warning(`Owner: ${owner}, Repository: ${repo}`)
core.warning(`Owner: ${owner}, Repository: ${JSON.stringify(repo)}`)
export default class Tag {
constructor (prefix, version, postfix) {
this.prefix = prefix