test
This commit is contained in:
parent
62e631db85
commit
5add488dc0
@ -8,7 +8,8 @@ try {
|
|||||||
// `who-to-greet` input defined in action metadata file
|
// `who-to-greet` input defined in action metadata file
|
||||||
const stripTaxPrefix = core.getBooleanInput('strip_tag_prefix');
|
const stripTaxPrefix = core.getBooleanInput('strip_tag_prefix');
|
||||||
|
|
||||||
console.log(JSON.stringify(github.context.payload))
|
console.log(JSON.stringify(github.context))
|
||||||
|
console.log("github.context.ref="+github.context.ref)
|
||||||
|
|
||||||
const isTag = github.context.ref.startsWith("refs/tags/")
|
const isTag = github.context.ref.startsWith("refs/tags/")
|
||||||
core.setOutput("git_is_tag", isTag ? "true" : "false")
|
core.setOutput("git_is_tag", isTag ? "true" : "false")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user