Skip to content

Commit

Permalink
Fix Pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
1nf0rmagician committed Feb 12, 2024
1 parent 186ba4a commit c7ad510
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .build/BuildToolkit.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,8 @@ function Invoke-CoverTests($SearchPath = $RootPath, $SearchFilter = "*.csproj",
$openCoverAgs += "-log:Debug", "-register:administrator", "-output:$openCoverXml", "-hideskipped:all", "-skipautoprops";
$openCoverAgs += "-returntargetcode" # We need the nunit return code
$openCoverAgs += "-filter:$includeFilter $excludeFilter"

& $global:OpenCoverCli $openCoverAgs
& $global:DotNetCli $targetArgs

$exitCode = [int]::Parse($LastExitCode);
if ($exitCode -ne 0) {
Expand All @@ -356,7 +356,7 @@ function Invoke-CoverTests($SearchPath = $RootPath, $SearchFilter = "*.csproj",
Invoke-ExitCodeCheck $exitCode;
}

& $global:OpenCoverToCoberturaCli -input:$openCoverXml -output:$coberturaXml -sources:$rootPath
# & $global:OpenCoverToCoberturaCli -input:$openCoverXml -output:$coberturaXml -sources:$rootPath
Invoke-ExitCodeCheck $LastExitCode;
}
}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
MORYX_OPTIMIZE_CODE: "false"
MORYX_BUILD_CONFIG: "Release"
MORYX_BUILDNUMBER: ${{github.run_number}}
dotnet_sdk_version: '5.0.403'
dotnet_sdk_version: '6.x'
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true

jobs:
Expand All @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v2

- name: Setup .NET SDK
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.dotnet_sdk_version }}

Expand All @@ -49,7 +49,7 @@ jobs:
- uses: actions/checkout@v2

- name: Setup .NET SDK
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.dotnet_sdk_version }}

Expand Down

0 comments on commit c7ad510

Please sign in to comment.