peaceiris / actions-mdbook

GitHub Actions for mdBook (rust-lang/mdBook) ⚡️ Setup mdBook quickly and build your site fast. Linux (Ubuntu), macOS, and Windows are supported.

Home Page:https://github.com/marketplace/actions/mdbook-action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"cannot execute binary file" error

casey opened this issue · comments

I'm getting the following error when when trying to run an actions-mdbook installed mdbook binary:

/Users/runner/work/_temp/bfe5655f-fa0a-410b-9608-62a44511a89b.sh: line 2: /Users/runner/toolbin/mdbook: cannot execute binary file

Here's a link to the GitHub actions run.

It looks like the last previous successful run was two days ago. Might something have changed between now and then that's causing this error?

I downgraded mdbook-version from latest to 0.4.2, which made the error go away, so I think this is an issue with mdbook v0.4.3. However, it's such a curious error. I can't imagine how a change to mdbook could result in an unexecutable binary. It could be something weird with github actions caching on my end.

Thank you for reporting this!

I opened rust-lang/mdBook#1318

And, this action failed to catch the error. I will fix this.

Thank you for digging in to the error! I should have checked the latest mdbook release assets.