Open AlbertXiaoPeng opened 1 year ago
@AlbertXiaoPeng not sure if you find the problem. If not, can you check if you have the Discussions enabled in your repository and that the discussion_category_name
name you use (Release
in your example) is a valid category?
As mentioned in https://github.com/softprops/action-gh-release/issues/110#issuecomment-1793486584, the 404 when creating a release seems to be coming from the an invalid discussion category.
My workflow.yml
When I push a new tag, it starts to run the workflow, but it gives an error
When I went to check Release, I found a new release, indicating that the release was successful, but an error was reported in the workflow
Please tell me how to handle de-posting from an already existing tag without getting an error?
Or whether it should be added to the publishing process to determine whether the tag exists before deciding on the following actions