@@ -22,10 +22,10 @@ jobs:
2222 - name : Ensure Docker is running
2323 run : docker info
2424
25- - name : Set up .NET 8 .0
25+ - name : Set up .NET 9 .0
2626 uses : actions/setup-dotnet@v4
2727 with :
28- dotnet-version : ' 8 .0.x'
28+ dotnet-version : ' 9 .0.x'
2929
3030 - name : Install .NET Aspire workload
3131 run : |
4848 run : |
4949 Write-Host "🔍 Verifying LocalTesting build artifacts..." -ForegroundColor Green
5050
51- $appHostDll = "LocalTesting/LocalTesting.AppHost/bin/Release/net8 .0/LocalTesting.AppHost.dll"
52- $webApiDll = "LocalTesting/LocalTesting.WebApi/bin/Release/net8 .0/LocalTesting.WebApi.dll"
51+ $appHostDll = "LocalTesting/LocalTesting.AppHost/bin/Release/net9 .0/LocalTesting.AppHost.dll"
52+ $webApiDll = "LocalTesting/LocalTesting.WebApi/bin/Release/net9 .0/LocalTesting.WebApi.dll"
5353
5454 if (Test-Path $appHostDll) {
5555 Write-Host "✅ AppHost build artifact found: $appHostDll" -ForegroundColor Green
9898 $nugetPackages = "$HOME/.nuget/packages"
9999
100100 # Set DCP CLI path using the installed orchestration package
101- $dcpPath = "$nugetPackages/aspire.hosting.orchestration.linux-x64/9.3.1 /tools/dcp"
101+ $dcpPath = "$nugetPackages/aspire.hosting.orchestration.linux-x64/9.1.0 /tools/dcp"
102102 if (Test-Path $dcpPath) {
103103 $env:DCP_CLI_PATH = $dcpPath
104104 Write-Host "✅ DCP CLI path set: $dcpPath" -ForegroundColor Green
@@ -108,7 +108,7 @@ jobs:
108108 }
109109
110110 # Set Aspire Dashboard path using the installed dashboard SDK
111- $dashboardPath = "$nugetPackages/aspire.dashboard.sdk.linux-x64/9.3.1 /tools"
111+ $dashboardPath = "$nugetPackages/aspire.dashboard.sdk.linux-x64/9.1.0 /tools"
112112 if (Test-Path $dashboardPath) {
113113 $env:ASPIRE_DASHBOARD_PATH = $dashboardPath
114114 Write-Host "✅ Aspire Dashboard path set: $dashboardPath" -ForegroundColor Green
@@ -120,8 +120,8 @@ jobs:
120120 # Set all required environment variables for Aspire
121121 $env:ASPIRE_ALLOW_UNSECURED_TRANSPORT = "true"
122122 $env:ASPNETCORE_URLS = "http://localhost:15000"
123- $env:ASPIRE_DASHBOARD_OTLP_ENDPOINT_URL = "http://localhost:4323"
124- $env:ASPIRE_DASHBOARD_OTLP_HTTP_ENDPOINT_URL = "http://localhost:4324"
123+ $env:DOTNET_DASHBOARD_OTLP_ENDPOINT_URL = "http://localhost:4323"
124+ $env:DOTNET_DASHBOARD_OTLP_HTTP_ENDPOINT_URL = "http://localhost:4324"
125125 $env:ASPIRE_DASHBOARD_URL = "http://localhost:18888"
126126 $env:ASPNETCORE_ENVIRONMENT = "Development"
127127 $env:DOTNET_LAUNCH_PROFILE = ""
@@ -573,5 +573,5 @@ jobs:
573573 path : |
574574 **/*.log
575575 **/*.txt
576- LocalTesting/**/bin/Release/net8 .0/**
576+ LocalTesting/**/bin/Release/net9 .0/**
577577 retention-days : 7
0 commit comments