Skip to content

Commit 2cd05e6

Browse files
committed
WIP #248 - Fix build failure
1 parent 4d1a402 commit 2cd05e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/dotnetCi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
# Build and test the solution
6161

6262
- name: Restore .NET packages
63-
run: dotnet restore -c ${{ env.Configuration }}
63+
run: dotnet restore
6464
- name: Start SonarScanner
6565
run: >
6666
dotnet-sonarscanner begin
@@ -83,7 +83,7 @@ jobs:
8383
projNameArray=(${proj//// })
8484
projName=${projNameArray[1]}
8585
assemblyPath=$proj/bin/$Configuration/$Tfm/$projName.dll
86-
coverlet "$assemblyPath" --target "dotnet" --targetargs "test $proj --no-build --logger:nunit --test-adapter-path:." -f=opencover -o="TestResults/$projName.opencover.xml"
86+
coverlet "$assemblyPath" --target "dotnet" --targetargs "test $proj -c $Configuration --no-build --logger:nunit --test-adapter-path:." -f=opencover -o="TestResults/$projName.opencover.xml"
8787
if [ $? -ne 0 ]
8888
then
8989
AnyFailures=1

0 commit comments

Comments
 (0)