actions / runner

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

Linux runner image on arm64 mac - ./bin/Runner.Listener: cannot execute binary file #3288

Open james-beres opened 1 month ago

james-beres commented 1 month ago

Describe the bug When using an m1 mac, selecting a linux runner image for arch arm64, ./config.sh --url ... results in ./config.sh: line 80: ./bin/Runner.Listener: cannot execute binary file

To Reproduce Steps to reproduce the behavior:

  1. Be on m1 mac, sonoma 14.4, arm64
  2. Select Linux runner image & select architecture arm64
  3. Run commands listed (mkdir, cd, curl to download, validate hash, extract installer, create the runner and start config
  4. ./config.sh --url https://git.innova-partners.com/demo-org/demo-repo --token AAAAITISMYTOKEN
  5. view error ./config.sh: line 80: ./bin/Runner.Listener: cannot execute binary file

Expected behavior Configuration starts

Runner Version and Platform

Starts up fine when using macos x64 -- Current runner version: '2.303.0'

OS of the machine running the runner? OSX/Windows/Linux/... OSX

What's not working?

Please include error messages and screenshots. ./config.sh: line 80: ./bin/Runner.Listener: cannot execute binary file

Screenshot 2024-05-15 at 4 45 54 PM

Runner and Worker's Diagnostic Logs

If applicable, add relevant diagnostic log information. Logs are located in the runner's _diag folder. The runner logs are prefixed with Runner_ and the worker logs are prefixed with Worker_. Each job run correlates to a worker log. All sensitive information should already be masked out, but please double-check before pasting here.