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

Commit d87d4ac

Browse files
author
Hendrik van Antwerpen
committed
Checkout in subdirectory
1 parent fa17070 commit d87d4ac

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/perf.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ jobs:
192192
- base-perf
193193
- head-perf
194194
env:
195+
SRC_DIR: src
195196
COMMENT_JSON: perf-summary.json
196197
steps:
197198
#
@@ -217,13 +218,15 @@ jobs:
217218
#
218219
- name: "Checkout code"
219220
uses: actions/checkout@v3
221+
with:
222+
path: ${{ env.SRC_DIR }}
220223
- name: Generate summary
221224
run: |
222-
script/ci-perf-summary-md \
225+
${{ env.SRC_DIR }}/script/ci-perf-summary-md \
223226
${{ env.BASE_MASSIF_OUT }} \
224227
${{ env.HEAD_MASSIF_OUT }} \
225228
'Comparing base ${{ env.BASE_REPO }}@${{ env.BASE_SHA }} with head ${{ env.HEAD_REPO }}@${{ env.HEAD_SHA }} on [${{ env.TEST_REPO }}@${{ env.TEST_REF }}](${{ github.server_url }}/${{ env.TEST_REPO }}/tree/${{ env.TEST_REF }}). For details see [workflow](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) artifacts.' \
226-
| script/ci-comment-json > ${{ env.COMMENT_JSON }}
229+
| ${{ env.SRC_DIR }}/script/ci-comment-json > ${{ env.COMMENT_JSON }}
227230
- name: Add summary comment to PR
228231
run: |
229232
curl \

0 commit comments

Comments
 (0)