I’m trying to scan Unity project via GitHub Action, using flow from Sonarcloud wizard.
I generated .sln and .cproj using Unity Hub on my MacBook.
GitHub flow uses “dotnet build BoatAttack.sln”, which fails with
C:\Program Files\dotnet\sdk\5.0.403\Roslyn\Microsoft.CSharp.Core.targets(71,5): error MSB6004: The specified task executable location "/Applications/Unity/Hub/Editor/2020.3.23f1/Unity.app/Contents/Tools/RoslynScripts\unity_csc.sh" is invalid. [D:\a\BoatAttack\BoatAttack\UnityEngine.TestRunner.csproj]
It’s right, github actions worker runs on Windows, not Mac. But I have no idea what I should put into .csproj.