@@ -18,8 +18,8 @@ permissions:
1818 id-token : write
1919 contents : write
2020
21- concurrency :
22- group : pull-request-${{ github.head_ref || github.ref }}
21+ concurrency :
22+ group : pull-request-${{ github.head_ref || github.ref }}
2323 cancel-in-progress : true
2424
2525env :
@@ -189,7 +189,7 @@ jobs:
189189 - name : Pack with .NET
190190 run : |
191191 dotnet pack ${{ vars.SRC_DEFAULT_GLOB_PATTERN }} --configuration ${{ env.build-configuration }} /p:Platform="${{ env.build-platform }}" /p:PackageVersion=${{ env.release-version }} /p:Version=${{ env.assembly-version }} /p:AssemblyInformationalVersion=${{ env.assembly-informational-version }} /p:FileVersion=${{ env.file-version }} --output ${{ runner.temp }}/${{ env.nuget-packages-directory }}
192-
192+
193193 - name : Upload Package
194194 uses : actions/upload-artifact@v7
195195 with :
@@ -239,38 +239,3 @@ jobs:
239239
240240 - name : ' Check for vulnerable packages'
241241 run : dotnet list src/PolylineAlgorithm/PolylineAlgorithm.csproj package --vulnerable --include-transitive
242-
243- benchmark :
244- if : ${{ needs.workflow-variables.outputs.is-release == 'true' || vars.BENCHMARKDOTNET_RUN_OVERRIDE == 'true' }}
245- name : Benchmark with .NET CLI on ${{ matrix.os }}
246- needs : [workflow-variables, build]
247- strategy :
248- matrix :
249- os : [ubuntu-latest, windows-latest, macos-latest]
250- runs-on : ${{ matrix.os }}
251- steps :
252- - name : ' Checkout ${{ github.head_ref || github.ref }}'
253- uses : actions/checkout@v6
254- - name : Install .NET SDK
255- uses : actions/setup-dotnet@v5
256- with :
257- dotnet-version : |
258- 8.x
259- 10.x
260- - name : Download Build
261- uses : actions/download-artifact@v8
262- with :
263- name : build
264- - name : Benchmark
265- working-directory : ${{ vars.BENCHMARKDOTNET_WORKING_DIRECTORY }}
266- run : dotnet run --configuration ${{ env.build-configuration }} /p:Platform=${{ env.build-platform }} --framework ${{ vars.DEFAULT_BUILD_FRAMEWORK }} --runtimes ${{ vars.BENCHMARKDOTNET_RUNTIMES }} --filter ${{ vars.BENCHMARKDOTNET_FILTER }} --artifacts ${{ runner.temp }}/benchmarks/ --exporters GitHub --memory --iterationTime 100 --join
267- - name : Upload Benchmark Results
268- uses : actions/upload-artifact@v7
269- with :
270- name : benchmark-${{ matrix.os }}
271- path : |
272- ${{ runner.temp }}/benchmarks/**/*-report-github.md
273- - name : Write Benchmark Summary
274- shell : bash
275- run : cat **/*-report-github.md > $GITHUB_STEP_SUMMARY
276- working-directory : ${{ runner.temp }}/benchmarks/
0 commit comments