File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,19 +32,19 @@ jobs:
3232 id : dotnet_version
3333 shell : pwsh
3434 run : |
35- # Fetch latest .NET 8 .0 LTS version
35+ # Fetch latest .NET 10 .0 LTS version
3636 try {
37- $response = Invoke-RestMethod -Uri "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/8 .0/releases.json"
37+ $response = Invoke-RestMethod -Uri "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/10 .0/releases.json"
3838 $latestRelease = $response.'latest-release'
3939 $latestSdk = $response.'latest-sdk'
40- Write-Host "Latest .NET 8 .0 SDK: $latestSdk"
41- Write-Host "Latest .NET 8 .0 Runtime: $latestRelease"
40+ Write-Host "Latest .NET 10 .0 SDK: $latestSdk"
41+ Write-Host "Latest .NET 10 .0 Runtime: $latestRelease"
4242 echo "SDK_VERSION=$latestSdk" >> $env:GITHUB_OUTPUT
4343 echo "RUNTIME_VERSION=$latestRelease" >> $env:GITHUB_OUTPUT
4444 } catch {
45- Write-Host "Using fallback version: 8 .0.x"
46- echo "SDK_VERSION=8 .0.x" >> $env:GITHUB_OUTPUT
47- echo "RUNTIME_VERSION=8 .0.x" >> $env:GITHUB_OUTPUT
45+ Write-Host "Using fallback version: 10 .0.x"
46+ echo "SDK_VERSION=10 .0.x" >> $env:GITHUB_OUTPUT
47+ echo "RUNTIME_VERSION=10 .0.x" >> $env:GITHUB_OUTPUT
4848 }
4949
5050 - name : Setup .NET
Original file line number Diff line number Diff line change @@ -28,17 +28,17 @@ jobs:
2828 id : dotnet_version
2929 shell : pwsh
3030 run : |
31- # Fetch latest .NET 8 .0 LTS version
31+ # Fetch latest .NET 10 .0 LTS version
3232 try {
33- $response = Invoke-RestMethod -Uri "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/8 .0/releases.json"
33+ $response = Invoke-RestMethod -Uri "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/10 .0/releases.json"
3434 $latestRelease = $response.'latest-release'
3535 $latestSdk = $response.'latest-sdk'
36- Write-Host "Latest .NET 8 .0 SDK: $latestSdk"
37- Write-Host "Latest .NET 8 .0 Runtime: $latestRelease"
36+ Write-Host "Latest .NET 10 .0 SDK: $latestSdk"
37+ Write-Host "Latest .NET 10 .0 Runtime: $latestRelease"
3838 echo "SDK_VERSION=$latestSdk" >> $env:GITHUB_OUTPUT
3939 } catch {
40- Write-Host "Using fallback version: 8 .0.x"
41- echo "SDK_VERSION=8 .0.x" >> $env:GITHUB_OUTPUT
40+ Write-Host "Using fallback version: 10 .0.x"
41+ echo "SDK_VERSION=10 .0.x" >> $env:GITHUB_OUTPUT
4242 }
4343
4444 - name : Setup .NET
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <OutputType >WinExe</OutputType >
5- <TargetFramework >net8 .0-windows</TargetFramework >
5+ <TargetFramework >net10 .0-windows</TargetFramework >
66 <UseWindowsForms >true</UseWindowsForms >
77 <ImplicitUsings >enable</ImplicitUsings >
88 <Nullable >disable</Nullable >
You can’t perform that action at this time.
0 commit comments