Skip to content

Commit 0b72efb

Browse files
author
Petr Sramek
committed
fix
1 parent 0e224cb commit 0b72efb

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/dotnet.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
strategy:
6161
matrix:
6262
os: [ubuntu-latest, windows-latest, macos-latest]
63+
netversion: [7, 8, 9]
6364

6465
concurrency:
6566
group: benchmark
@@ -69,10 +70,10 @@ jobs:
6970

7071
steps:
7172
- uses: actions/checkout@v3
72-
- name: Setup .NET 9
73+
- name: Setup .NET ${{ matrix.netversion }}
7374
uses: actions/setup-dotnet@v3
7475
with:
75-
dotnet-version: 9.x
76+
dotnet-version: ${{ matrix.netversion }}.x
7677
- name: Fix libssl
7778
if: ${{ matrix.netversion == 5 && matrix.os == 'ubuntu-latest' }}
7879
run: |
@@ -83,9 +84,6 @@ jobs:
8384
name: build
8485
path: .
8586
merge-multiple: true
86-
- name: Decode Benchmark
87-
working-directory: ./benchmarks/PolylineAlgorithm.Benchmarks
88-
run: dotnet run --configuration Release
89-
- name: Encode Benchmark
87+
- name: Benchmark
9088
working-directory: ./benchmarks/PolylineAlgorithm.Benchmarks
91-
run: dotnet run --configuration Release
89+
run: dotnet run --configuration Release --framework net${{ matrix.netversion }}.0

0 commit comments

Comments
 (0)