JetBrains / intellij-platform-plugin-template

Template repository for creating plugins for IntelliJ Platform
Apache License 2.0
3.08k stars 623 forks source link

Why publishing a release does not trigger Github Action #416

Closed bitjerry closed 10 months ago

bitjerry commented 10 months ago

What happened?

I used the build workflow to automatically build a draft. When I clicked to edit the draft and publish a release, the release workflow would not be triggered anyway.

Relevant log output or stack trace

No response

Steps to reproduce

I searched related questions on StackOverflow and changed type: [prereleased, released] to type: [published] and it still doesn't work. But when I click Draft a new release to release manually, it works fine. I'm puzzled. The following is the workflow triggered by Draft a new release

Gradle IntelliJ Plugin version

1.16.0

Gradle version

8.4

Operating System

None

Link to build, i.e. failing GitHub Action job

https://github.com/bitjerry/Headers/actions/runs/6952963201

bitjerry commented 10 months ago

Sorry, this is not a problem with this project. The error occurred in an old tag, and an old version was build.