Skip to content

Commit 6bc4e73

Browse files
author
Petr Sramek
committed
fix
1 parent e05e77a commit 6bc4e73

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/dotnet.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Restore
2525
run: dotnet restore
2626
- name: Build
27-
run: dotnet build --no-restore
27+
run: dotnet build --no-restore --configuration Release
2828
- name: Upload
2929
uses: actions/upload-artifact@v4
3030
with:
@@ -51,9 +51,10 @@ jobs:
5151
path: .
5252
merge-multiple: true
5353
- name: Test
54-
run: dotnet test --no-restore --no-build --verbosity normal
54+
run: dotnet test --no-restore --no-build --configuration Release --verbosity normal
5555

5656
benchmark:
57+
name: Benchmark with .NET net${{ matrix.netversion }} on ${{ matrix.os }}
5758
needs: [build]
5859

5960
strategy:
@@ -81,7 +82,7 @@ jobs:
8182
merge-multiple: true
8283
- name: Decode Benchmark
8384
working-directory: ./benchmarks/PolylineAlgorithm.Benchmarks
84-
run: dotnet run -c Release --no-restore --no-build --framework net${{ matrix.netversion }}.0 --filter '*DecodeBenchmark*'
85+
run: dotnet run -c Release --no-restore --no-build --configuration Release --framework net${{ matrix.netversion }}.0 --filter '*DecodeBenchmark*'
8586
- name: Encode Benchmark
8687
working-directory: ./benchmarks/PolylineAlgorithm.Benchmarks
87-
run: dotnet run -c Release --no-restore --no-build --framework net${{ matrix.netversion }}.0 --filter '*EncodeBenchmark*'
88+
run: dotnet run -c Release --no-restore --no-build --configuration Release --framework net${{ matrix.netversion }}.0 --filter '*EncodeBenchmark*'

0 commit comments

Comments
 (0)