actions / upload-release-asset

An Action to upload a release asset via the GitHub Release API
MIT License
688 stars 190 forks source link

[feature request] default content-type value #38

Open lovasoa opened 4 years ago

lovasoa commented 4 years ago

It would be nice if the content-type were not mandatory, using application/octet-stream as a default value. This is the content-type to use for data of an unknown/unspecified type.

ranisalt commented 4 years ago

Why not be even better and detect content type? That's how csexton/release-asset-action works.

eine commented 4 years ago

Possible dup of #7.

lazyfrosch commented 4 years ago

I'd use application/octet-stream, it is a safe default to push a file 1:1 binary wise. Avoids complexity and should work for everyone.