mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 12:54:26 +01:00
Fix workflow CI
This commit is contained in:
parent
ca19bae72f
commit
1cde455758
@ -73,9 +73,9 @@ jobs:
|
|||||||
# Compute the diff of the benchmarks and send a message on the GitHub PR
|
# Compute the diff of the benchmarks and send a message on the GitHub PR
|
||||||
- name: Compute and send a message in the PR
|
- name: Compute and send a message in the PR
|
||||||
run: |
|
run: |
|
||||||
export base=git rev-parse $(git cherry main | head -n 1 | cut -c 3-)~ | cut -c -8
|
export base=$(git rev-parse $(git cherry main | head -n 1 | cut -c 3-)~ | cut -c -8)
|
||||||
echo 'Here are your benchmarks diff 👊' >> body.txt
|
echo 'Here are your benchmarks diff 👊' >> body.txt
|
||||||
echo '```' >> body.txt
|
echo '```' >> body.txt
|
||||||
./benchmaks/scipts/compare.sh $base ${{ steps.file.outputs.basename }}.json >> body.txt
|
./benchmaks/scripts/compare.sh $base ${{ steps.file.outputs.basename }}.json >> body.txt
|
||||||
echo '```' >> body.txt
|
echo '```' >> body.txt
|
||||||
gh pr comment ${GITHUB_REF#refs/heads/} --body-file body.txt
|
gh pr comment ${GITHUB_REF#refs/heads/} --body-file body.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user