File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 versionSpec : ' 5.12.x'
1616 - uses : gittools/actions/gitversion/execute@v3.2.1
1717 id : gitversion
18+ - uses : actions/setup-dotnet@v4
19+ with :
20+ dotnet-version : ' 9.0.x'
1821
1922 # Build
2023 - name : Build (pre-release)
Original file line number Diff line number Diff line change 22pushd $PSScriptRoot
33
44function Run-DotNet {
5- ..\0install.ps1 run -- batch -- version 8.0 .. https:// apps.0install.net/ dotnet/ sdk.xml @args
5+ ..\0install.ps1 run -- batch -- version 9.0 . 200 .. https:// apps.0install.net/ dotnet/ sdk.xml @args
66 if ($LASTEXITCODE -ne 0 ) {throw " Exit Code: $LASTEXITCODE " }
77}
88
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ cd `dirname $0`
66if command -v dotnet > /dev/null 2> /dev/null; then
77 dotnet=" dotnet"
88else
9- dotnet=" ../0install.sh run --version 8.0 .. https://apps.0install.net/dotnet/sdk.xml"
9+ dotnet=" ../0install.sh run --version 9.0.200 .. https://apps.0install.net/dotnet/sdk.xml"
1010fi
1111
1212# Build docs
Original file line number Diff line number Diff line change 22
33 <!-- Project properties -->
44 <PropertyGroup >
5- <TargetFramework >net8 .0</TargetFramework >
5+ <TargetFramework >net9 .0</TargetFramework >
66 <AssemblyName >TypedRest.Codegeneration.UnitTests</AssemblyName >
77 <RootNamespace >TypedRest.CodeGeneration</RootNamespace >
88 <GeneratePackageOnBuild >False</GeneratePackageOnBuild >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ $ErrorActionPreference = "Stop"
33pushd $PSScriptRoot
44
55function Run-DotNet {
6- ..\0install.ps1 run -- batch -- version 8.0 .. https:// apps.0install.net/ dotnet/ sdk.xml @args
6+ ..\0install.ps1 run -- batch -- version 9.0 . 200 .. https:// apps.0install.net/ dotnet/ sdk.xml @args
77 if ($LASTEXITCODE -ne 0 ) {throw " Exit Code: $LASTEXITCODE " }
88}
99
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ cd `dirname $0`
66if command -v dotnet > /dev/null 2> /dev/null; then
77 dotnet=" dotnet"
88else
9- dotnet=" ../0install.sh run --version 8.0 .. https://apps.0install.net/dotnet/sdk.xml"
9+ dotnet=" ../0install.sh run --version 9.0.200 .. https://apps.0install.net/dotnet/sdk.xml"
1010fi
1111
1212# Build
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ $ErrorActionPreference = "Stop"
22pushd $PSScriptRoot
33
44function Run-DotNet {
5- ..\0install.ps1 run -- batch -- version 8 .0 .. ! 8 .1 https:// apps.0install.net/ dotnet/ sdk.xml @args
5+ ..\0install.ps1 run -- batch -- version 9 .0 .200 .. ! 9 .1 https:// apps.0install.net/ dotnet/ sdk.xml @args
66 if ($LASTEXITCODE -ne 0 ) {throw " Exit Code: $LASTEXITCODE " }
77}
88
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ cd `dirname $0`
66if command -v dotnet > /dev/null 2> /dev/null; then
77 dotnet=" dotnet"
88else
9- dotnet=" ../0install.sh run --version 8 .0..!8 .1 https://apps.0install.net/dotnet/sdk.xml"
9+ dotnet=" ../0install.sh run --version 9 .0.200..!9 .1 https://apps.0install.net/dotnet/sdk.xml"
1010fi
1111
12- # Unit tests (without .NET Framework)
12+ # Unit tests
1313$dotnet test --no-build --logger trx --configuration Release UnitTests/UnitTests.csproj
You can’t perform that action at this time.
0 commit comments