File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,18 @@ jobs:
140140 python-version : 3.8
141141 scons-version : 4.0
142142
143+ - name : Force remove preinstalled .NET SDKs
144+ if : matrix.build-mono
145+ run : |
146+ sudo rm -rf /usr/share/dotnet/sdk/*
147+
148+ - name : Setup older .NET SDK as baseline
149+ if : matrix.build-mono
150+ uses : actions/setup-dotnet@v4
151+ with :
152+ # Targeting the oldest version we want to support to ensure it still builds.
153+ dotnet-version : ' 8.0.100'
154+
143155 - name : Compilation
144156 uses : ./.github/actions/godot-build
145157 with :
@@ -163,6 +175,7 @@ jobs:
163175 - name : Build .NET solutions
164176 if : matrix.build-mono
165177 run : |
178+ dotnet --info
166179 ./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=linuxbsd
167180
168181 - name : Prepare artifact
Original file line number Diff line number Diff line change 88 </PropertyGroup >
99
1010 <ItemGroup >
11- <PackageReference Include =" Microsoft.CodeAnalysis.CSharp" Version =" 4.9.2 " PrivateAssets =" all" />
11+ <PackageReference Include =" Microsoft.CodeAnalysis.CSharp" Version =" 4.8.0 " PrivateAssets =" all" />
1212 <PackageReference Include =" Microsoft.CodeAnalysis.Analyzers" Version =" 3.3.4" PrivateAssets =" all" />
1313 </ItemGroup >
1414
You can’t perform that action at this time.
0 commit comments