I want to upload a artifact to latest release... without creating a new release.
I started with github official action upload-release-asset to upload artifact.
It requires a upload_url as an input which tells it the url of release.
Which is generally taken from creating a release in previous step with create-release action.
I tried to print output url from create_release-
https://uploads.github.com/repos/atiqg/test/releases/28579698/assets{?name,label}
Then I changed it to direct to latest release-
https://uploads.github.com/repos/atiqg/test/releases/latest/assets
Which oblivously did not work out and thrown this error-
##[error]Multipart form data required
Is there any way I can do this? I don't want to create a new release from actions.
I want to create release normally then action should upload artifact to latest release...