Skip to content

Commit

Permalink
Merge pull request #2 from max-ieremenko/feature/net8.0
Browse files Browse the repository at this point in the history
.net sdk 8.0.200
  • Loading branch information
max-ieremenko authored Apr 13, 2024
2 parents dfcfeef + 1c238fc commit aea902c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

- install dependencies

[net6.0 sdk](https://dotnet.microsoft.com/download/dotnet/6.0),
[net8.0 sdk](https://dotnet.microsoft.com/download/dotnet/8.0),
[InvokeBuild](https://www.powershellgallery.com/packages/InvokeBuild/5.9.12),
[Pester](https://www.powershellgallery.com/packages/Pester/5.3.3)

Expand Down
6 changes: 3 additions & 3 deletions build/scripts/build-tasks.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
task LocalBuild DefaultBuild, LocalPsCoreTest
task CIBuild DefaultBuild, CIPsCoreTest

task DefaultBuild Initialize, Clean, Build, PackPowerShellModule, UnitTest60
task DefaultBuild Initialize, Clean, Build, PackPowerShellModule, UnitTest

Enter-Build {
$settings = @{
Expand Down Expand Up @@ -49,8 +49,8 @@ task Build {
}
}

task UnitTest60 {
Exec { .\step-unit-test.ps1 $settings.bin "net6.0" }
task UnitTest {
Exec { .\step-unit-test.ps1 $settings.bin "net8.0" }
}

task PackPowerShellModule {
Expand Down
2 changes: 1 addition & 1 deletion build/scripts/step-unit-test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ param (
$BinPath,

[Parameter(Mandatory)]
[ValidateSet("net6.0")]
[ValidateSet("net8.0")]
[string]
$Framework
)
Expand Down
2 changes: 1 addition & 1 deletion sources/Test.csproj.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<OutputPath>..\..\bin\unit-test</OutputPath>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion sources/global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "6.0.401",
"version": "8.0.200",
"allowPrerelease": false,
"rollForward": "latestFeature"
}
Expand Down

0 comments on commit aea902c

Please sign in to comment.