github-action-ghr
github-action-ghr copied to clipboard
Upload a directory as one zip
I would like to upload the entire directory as one zip file. E.g. dist/package-a should be uploaded as package-a.zip, or perhaps another name I could set in the options.
Is that supported right now? Using the GHR_COMPRESS and GHR_PATH results in multiple uploads.
Unfortunately not possible yet, you'd have to run the action multiple times.
I managed to have a similar result by pointing to the parent folder dist. That created a package-a.zip file, which contains a package-a folder inside.
I would prefer a flat structure inside, but that works for now.
How would you run the action multiple times to achieve the same result?