Skip to content

Commit 58e29f1

Browse files
committed
GHA (Mac): install .NET SDK 6.0 in addition to 8.0
* in order to fix this error: Testhost process for source(s) '/Users/runner/work/GeoJSON.Net/GeoJSON.Net/src/GeoJSON.Net.Tests/bin/Debug/net6.0/GeoJSON.Net.Tests.dll' exited with error: You must install or update .NET to run this application. App: /Users/runner/work/GeoJSON.Net/GeoJSON.Net/src/GeoJSON.Net.Tests/bin/Debug/net6.0/testhost.dll Architecture: arm64 Framework: 'Microsoft.NETCore.App', version '6.0.0' (arm64) .NET location: /Users/runner/.dotnet/ The following frameworks were found: 7.0.2 at [/Users/runner/.dotnet/shared/Microsoft.NETCore.App] 7.0.4 at [/Users/runner/.dotnet/shared/Microsoft.NETCore.App] 7.0.9 at [/Users/runner/.dotnet/shared/Microsoft.NETCore.App] 7.0.20 at [/Users/runner/.dotnet/shared/Microsoft.NETCore.App] 8.0.1 at [/Users/runner/.dotnet/shared/Microsoft.NETCore.App] 8.0.4 at [/Users/runner/.dotnet/shared/Microsoft.NETCore.App] 8.0.7 at [/Users/runner/.dotnet/shared/Microsoft.NETCore.App]
1 parent fe355ef commit 58e29f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ jobs:
3636
- name: Setup .NET Core
3737
uses: actions/setup-dotnet@v4
3838
with:
39-
dotnet-version: '8.0.x'
39+
dotnet-version: |
40+
6.0.x
41+
8.0.x
4042
- name: Install dependencies
4143
run: dotnet restore src/GeoJSON.Net.sln
4244
- name: Build

0 commit comments

Comments
 (0)