From 38a8952086d99c12a34c32607418a7c9e79385d6 Mon Sep 17 00:00:00 2001 From: Islam El-Ashi Date: Mon, 8 Apr 2024 15:15:13 +0200 Subject: [PATCH] fix: canbench can run in dependabot PRs (part 2) --- .github/workflows/workflow.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index d0f2e3b5..36b5cf13 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -391,13 +391,21 @@ jobs: - name: Benchmark run: | - bash ./scripts/canbench_ci_run_benchmark.sh $PROJECT_DIR + bash ./scripts/ci_run_benchmark.sh $PROJECT_DIR ${{ github.job }} - - name: Post comment - uses: thollander/actions-comment-pull-request@v2 + - uses: actions/upload-artifact@v4 with: - filePath: /tmp/canbench_comment_message.txt - comment_tag: ${{ env.PROJECT_DIR }} + name: canbench_result_${{github.job}} + path: /tmp/canbench_result_${{ github.job }} + + - name: Save PR number + run: | + echo ${{ github.event.number }} > /tmp/pr_number + + - uses: actions/upload-artifact@v4 + with: + name: pr_number + path: /tmp/pr_number - name: Pass or fail run: |