Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 057fd4d

Browse files
author
Hendrik van Antwerpen
committed
Fix script location and ensure they are checked out
1 parent 2b25501 commit 057fd4d

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/perf.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,19 @@ jobs:
116116
#
117117
# Create report
118118
#
119+
- name: "Checkout head code"
120+
uses: actions/checkout@v3
121+
with:
122+
repository: ${{ env.HEAD_REPO }}
123+
ref: ${{ env.HEAD_SHA }}
124+
path: ${{ env.HEAD_DIR }}
119125
- name: Generate report
120126
run: |
121-
script/ci-perf-report-md \
122-
${{ env.BASE_MASSIF_OUT }} \
127+
${{ env.HEAD_DIR }}/script/ci-perf-report-md \
128+
${{ env.HEAD_DIR${{ env.BASE_MASSIF_OUT }} \
123129
${{ env.HEAD_MASSIF_OUT }} \
124130
'Comparing base ${{ env.BASE_REPO }}@${{ env.BASE_SHA }} with head ${{ env.HEAD_REPO }}@${{ env.HEAD_SHA }} on `${{ env.TEST_SRC }}` in ${{ env.TEST_REPO }}@${{ env.TEST_REF }}.' \
125-
| script/ci-comment-json >> ${{ env.REPORT_COMMENT }}
131+
| ${{ env.HEAD_DIR }}/script/ci-comment-json >> ${{ env.REPORT_COMMENT }}
126132
- name: Add report comment to PR
127133
run: |
128134
curl \

0 commit comments

Comments
 (0)