GitHub Actions
GitHub Actions container job failed because the runner is not Linux
GitHub Actions container-based jobs and service containers require a Linux runner. Using macOS or Windows runners for these workflows causes the setup to fail.
GitHub Actions
GitHub Actions container-based jobs and service containers require a Linux runner. Using macOS or Windows runners for these workflows causes the setup to fail.
Observed message
If your workflows use Docker container actions, job containers, or service containers, then you must use a Linux runner.
Why it happens
How to fix it
Official reference
GitHub Docs: Workflow syntax for GitHub ActionsRelated errors
Explore more