Open wildone opened 2 years ago
So after investigating this, it seems to be "a feature, not a bug" with SH (/bin/sh
).
On the entrypoint.sh
script, the files are evaluated within a loop:
for entry in $INPUT_FILES; do
This has the unfortunate outcome of splitting strings via spaces, BUT you can change the way it should split by updating the Internal Field Separator. So the solution is:
IFS='
' && for entry in $INPUT_FILES; do
Here's a POC @meeDamian
I have this PR (https://github.com/meeDamian/github-release/pull/36), but it looks like this action isn't actively maintained...
Spaces in file names cases upload step to not work.
Config like this
With files like this
Generate error like this