In this github action, I had 3 same missions runs on 3 platforms (windows-latest, ubuntu-latest, macos-latest).
In this action, I clone my repo, and clone libraries through a tool, regardless of whether it is executed locally or in the other two platforms of GitHub Action, the library is successfully cloned to the specified location, that is to say, the library exists.
But, on ubuntu-latest, the dotnet sdk can not find the library.
While on windows-latest and macos-latest, the dotnet sdk can find it.
To Reproduce
git clone https://github.com/Crequency/KitX.git --depth 1
cd KitX
# If you have no ssh key set, you can use this:
git config url.https://github.com/.insteadOf git@github.com:
# And you can unset this convert rule by:
git config --global --unset url.https://github.com/.insteadof
git submodule update --init
dotnet tool install --global Cheese
cheese ref --setup --convert-ssl-link-to-https-link --verbose
ls Reference/Csharpell/Csharpell.Core # You will find that the .csproj file needed exists
cd KitX\ Clients/KitX\ Dashboard/KitX\ Dashboard
dotnet build # Then you will find the file can not be found
Describe the bug
In this github action, I had 3 same missions runs on 3 platforms (windows-latest, ubuntu-latest, macos-latest).
In this action, I clone my repo, and clone libraries through a tool, regardless of whether it is executed locally or in the other two platforms of GitHub Action, the library is successfully cloned to the specified location, that is to say, the library exists.
But, on ubuntu-latest, the dotnet sdk can not find the library.
While on windows-latest and macos-latest, the dotnet sdk can find it.
To Reproduce
Exceptions (if any)
Nope.
Further technical details
dotnet --info
Runtime Environment: OS Name: ubuntu OS Version: 22.04 OS Platform: Linux RID: linux-x64 Base Path: /usr/share/dotnet/sdk/8.0.202/
.NET workloads installed: There are no installed workloads to display.
Host: Version: 8.0.3 Architecture: x64 Commit: 9f4b1f5d66
.NET SDKs installed: 8.0.202 [/usr/share/dotnet/sdk]
.NET runtimes installed: Microsoft.AspNetCore.App 8.0.3 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 8.0.3 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found: None
Environment variables: Not set
global.json file: Not found
Learn more: https://aka.ms/dotnet/info
Download .NET: https://aka.ms/dotnet/download