actions / runner

The Runner for GitHub Actions :rocket:
https://github.com/features/actions
MIT License
4.91k stars 965 forks source link

"Failed to create CoreCLR, HRESULT: 0x80070057" after installing Rosetta 2 on Sonoma 14.5 (23F79) #3348

Closed julcreutz closed 4 months ago

julcreutz commented 5 months ago

Describe the bug I've spent all day trying to set up a self-hosted runner on my apple machine running Sonoma 14.5 (23F79) on Apple Silicon. I've gone so far to reinstall Mac OS, which got the runner to finally start, but after installing Rosetta 2 to run SteamCMD, the runner stopped working again with the same error message I struggled with all day: Failed to create CoreCLR, HRESULT: 0x80070057

To Reproduce Steps to reproduce the behavior:

  1. Install Rosetta 2
  2. Run ./config.sh or ./run.sh of the runner

Expected behavior Runner is able to be configured or run.

Runner Version and Platform

Version of your runner?

OS of the machine running the runner? Sonoma 14.5 (23F79)

What's not working?

Failed to create CoreCLR, HRESULT: 0x80070057

julcreutz commented 4 months ago

I resolved it. For some reason, it fixed itself when I moved the actions-runner directory into my user folder. Before, it was nested inside a sub-directory.