File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 2828 run : |
2929 # Parse `issue_comment` body
3030 printf '${{ github.event.comment.body }}' > comment.txt
31- BENCH_COMMAND=$(head -n 1 comment.txt)
31+ BENCH_COMMAND=$(head -n 1 comment.txt | tr -d '\r' )
3232 echo "$BENCH_COMMAND"
3333
3434 BENCHES=$(echo $BENCH_COMMAND | awk -F'!benchmark ' '{ print $2 }')
8484 - name : Run bench on base branch
8585 run : |
8686 lake exe ${{ matrix.bench }}
87- ls
88- ls .lake/benches/*
8987 working-directory : ${{ github.workspace }}/base
9088 - name : Checkout PR branch
9189 uses : actions/checkout@v5
@@ -105,15 +103,13 @@ jobs:
105103 - name : Run bench on PR branch and generate comparison report
106104 run : |
107105 BENCH_REPORT=1 lake exe ${{ matrix.bench }}
108- ls
109- ls .lake/benches/*
110106 working-directory : ${{ github.workspace }}/pr
111107 - name : Get env for PR body
112108 if : always()
113109 run : |
114110 SHORT_SHA_PR=$(git rev-parse --short HEAD)
115111 REPO_URL=${{ github.server_url }}/${{ github.repository }}
116- echo "COMMIT_LINK=[$SHORT_SHA_PR]($REPO_URL/commit/${{ github.sha }})" | tee -a $GITHUB_ENV
112+ echo "COMMIT_LINK=[\` $SHORT_SHA_PR\` ]($REPO_URL/commit/${{ github.sha }})" | tee -a $GITHUB_ENV
117113 echo "WORKFLOW_LINK=[Workflow logs]($REPO_URL/actions/runs/${{ github.run_id }})" | tee -a $GITHUB_ENV
118114 working-directory : ${{ github.workspace }}/pr
119115 - name : Build benchmark comment body
You can’t perform that action at this time.
0 commit comments