action-gh-release icon indicating copy to clipboard operation
action-gh-release copied to clipboard

`files` option should be a list

Open khatchad opened this issue 1 year ago • 2 comments

I see the description of the files option as follows:

Name Type Description
files String Newline-delimited globs of paths to assets to upload for release

For multiple files, it's used as follows:

with:
  files: |
    Release.txt
    LICENSE

Why not make it a list?

with:
  files:
    - Release.txt
    - LICENSE

khatchad avatar Jan 07 '25 21:01 khatchad

see @softprops's notes in https://github.com/softprops/action-gh-release/issues/15

chenrui333 avatar Jan 08 '25 04:01 chenrui333

Looks like Travis CI supports both a string and an array of string. This is what I had in mind.

khatchad avatar Jan 08 '25 17:01 khatchad