Closed NNBnh closed 1 year ago
I've also noticed the issue.
For some reason now, I've been unable to reproduce the issue in an action, and I'm not sure why. I will keep digging into it and let you know what I find.
Maybe it's related to #10. I added the env var and it worked.
Side note: that bug was fixed but never published to DockerHub.
I have replicated it and found an answer.
Running a shell inside the container and running with bash -x /run.sh
reveals that the script fails because of mkdir /tmp/build
tries to create a directory that already exists. Just add -p
to that command and it's golden. I also experience the error where the script will fail if no font version is given, but that's another issue.
Working on a solution to both problems.
Specifically, I cannot believe the script doesn't use the GitHub JSON API, instead parsing a raw HTML page with grep :/
Fixed that quite quick. Building the dockerfile to test my fixes rn.
Everything works as expected on both ends. Imma submit a pull request soon.
Hello, I have trying to automatically build the font with Github Action recently and I come up this this setting:
File's link
But when run it show this error:
So I try to fix it:
Now it run for a bit but still exit without building:
I'm still learning Docker so I'm not sure if this is a bug or I'm missing something, could you take a look please?