How to upload assets on a draft release in GitHub Actions #3029
-
When trying to setup a GitHub Action to automatically upload assets (i.e. Is it the expected behavior? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hmm, your GITHUB_TOKEN should absolutely have the rights to update releases in the same repository. I don't know what's going on here. You can try setting Can you upload assets to a draft release in that repository using |
Beta Was this translation helpful? Give feedback.
Hmm, your GITHUB_TOKEN should absolutely have the rights to update releases in the same repository. I don't know what's going on here.
You can try setting
DEBUG=api
environment variable during your job run to see the verbose log of HTTP traffic. Maybe it sheds some light on the mystery.Can you upload assets to a draft release in that repository using
gh release upload
locally?