Skip to content

Commit ecb331f

Browse files
committed
Set results path env and fix artifact path
1 parent c7dc3ee commit ecb331f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/performance-regressions.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ jobs:
1414
- macos-latest
1515
- windows-latest
1616
runs-on: ${{ matrix.runner }}
17-
env:
18-
PERFORMANCE_RESULTS_PATH: performance-results-${{ runner.os }}.json
1917
steps:
2018
- name: Checkout Cap
2119
uses: actions/checkout@v4
@@ -47,6 +45,10 @@ jobs:
4745
shell: pwsh
4846
run: Add-Content -Path $env:GITHUB_PATH -Value "${{ github.workspace }}\\target\\ffmpeg\\bin"
4947

48+
- name: Set results path
49+
shell: bash
50+
run: echo "PERFORMANCE_RESULTS_PATH=performance-results-${{ matrix.runner }}.json" >> "$GITHUB_ENV"
51+
5052
- name: Run performance suite
5153
id: performance_suite
5254
continue-on-error: true
@@ -57,7 +59,7 @@ jobs:
5759
uses: actions/upload-artifact@v4
5860
with:
5961
name: performance-results-${{ matrix.runner }}
60-
path: ${{ env.PERFORMANCE_RESULTS_PATH }}
62+
path: ${{ github.workspace }}/${{ env.PERFORMANCE_RESULTS_PATH }}
6163

6264
- name: Print results
6365
if: always()

0 commit comments

Comments
 (0)