From 1cde455758d6eb34aa405be7f44fab33ac8e9051 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Mon, 9 Oct 2023 16:30:46 +0200 Subject: [PATCH] Fix workflow CI --- .github/workflows/trigger-benchmarks-on-message.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/trigger-benchmarks-on-message.yml b/.github/workflows/trigger-benchmarks-on-message.yml index d41490d2a..0b2c29897 100644 --- a/.github/workflows/trigger-benchmarks-on-message.yml +++ b/.github/workflows/trigger-benchmarks-on-message.yml @@ -73,9 +73,9 @@ jobs: # Compute the diff of the benchmarks and send a message on the GitHub PR - name: Compute and send a message in the PR 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 '```' >> 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 gh pr comment ${GITHUB_REF#refs/heads/} --body-file body.txt