Skip to content

Commit a491315

Browse files
committed
ci: fixes reports path
Signed-off-by: Vincent Biret <[email protected]>
1 parent a08fc97 commit a491315

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci-cd.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,8 @@ jobs:
7575
dotnet run -c Release --project ./performance/benchmark/PerformanceTests.csproj
7676
7777
- name: Run comparison tool
78-
run: |
79-
dotnet run -c Release --project ./performance/resultsComparer/resultsComparer.csproj -- compare ./performanceResults/ComparisonResults/performance.EmptyModels-report.json ./performance/benchmark/BenchmarkDotNet.Artifacts/results/performance.EmptyModels-report.json
78+
run: dotnet run -c Release --project ./performance/resultsComparer/resultsComparer.csproj -- compare $OLD_REPORT $NEW_REPORT
79+
shell: bash
80+
env:
81+
NEW_REPORT: "${{ github.workspace }}/performance/benchmark/BenchmarkDotNet.Artifacts/results/performance.EmptyModels-report.json"
82+
OLD_REPORT: "${{ github.workspace }}/performanceResults/performance.EmptyModels-report.json"

0 commit comments

Comments
 (0)