eine
eine
@lazka, thank you! I was not aware of it. Refs: - https://octokit.github.io/rest.js/v18#repos-update-release-asset - https://pygithub.readthedocs.io/en/latest/github_objects/GitReleaseAsset.html?highlight=asset#github.GitReleaseAsset.GitReleaseAsset.update_asset
The procedure suggested by @lazka [above](https://github.com/actions/upload-release-asset/pull/22#issuecomment-660314519) is now implemented in [eine/tip](https://github.com/eine/tip), which is used intensively in e.g. msys2 or ghdl. > desperately-needed features... *needed*? Isn't it *wished*?
@csexton, in [1138-4EB/tip](https://github.com/1138-4EB/tip) I use [file-type](https://www.npmjs.com/package/file-type) to set `content-type`. Also, I take all the arguments to `files` as glob patterns, so there is no need for a separate `pattern` option:...
[eine/tip](https://github.com/eine/tip) implements the procedure suggested in https://github.com/actions/upload-release-asset/pull/22#issuecomment-660314519.
> First question is, if this already supports multi-file upload and placeholder text. See #4 and #9. > So I hope this has some sort of placeholder to allow uploading...
Yep. This action seems not to modify that path at all (it is not even checked that the file exists): https://github.com/actions/upload-release-asset/blob/master/src/upload-release-asset.js
Without further context, I'd say that `${{ github.event.release.release.upload_url }}` does not exist (is `undefined`). In the README, `actions/[email protected]` is used to create the release and get the upload URL from...
> I use this action in a release event with type published, so the release itself is clearly available, meaning the link shouldn't be null/empty. "Shouldn't" means that it can...
Possible dup of #7.
@caquino, I'm afraid that the solution you propose might only be valid on GNU/Linux environments (i.e. `ubuntu-latest`). `file --mime-type` is unlikely to be available on other platforms. FTR, it is...