Error: Container action is only supported on Linux

  • CI system used
    The action encountered with the above error (title) while running on macOS-latest.

The issue occurs when the Github action SonarSource/sonarcloud-github-action@master is being used in macOS runner.