This commit is contained in:
Stephan 2022-03-18 18:31:39 +01:00
parent 06bdaca2c1
commit 143637c4fc

View File

@ -48,6 +48,7 @@ module.exports = /*async*/ ({github, context, core}) => {
core.setFailed(`Could not find a GitHub release for tag '${tag}'.`)
return
}
console.log(release)
if (release.draft) {
core.setFailed(`GitHub release for tag '${tag}' is already published.`)
return