Skip to content

Commit

Permalink
remove process
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak committed Sep 10, 2024
1 parent bd124e3 commit 45e8f9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
id: benchmark-result
run: |
if [ -f ./cache/benchmark-main.json ]; then
pnpm run bench --outputJson benchmark.json --compare ./cache/benchmark-main.json > benchmark.txt
pnpm run bench --run --outputJson benchmark.json --compare ./cache/benchmark-main.json > benchmark.txt
else
pnpm run bench --outputJson benchmark.json > benchmark.txt
pnpm run bench --run --outputJson benchmark.json > benchmark.txt
fi
echo 'BENCHMARK_RESULT<<EOF' >> $GITHUB_OUTPUT
sed -i -e '$a\' benchmark.txt
Expand All @@ -48,7 +48,7 @@ jobs:
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: "\`\`\`\n${{steps.benchmark-result.outputs.BENCHMARK_RESULT}}\n\`\`\`"
body: "\n\`\`\`\n${{ env.BENCHMARK_RESULT }}\n\`\`\`"
})
- run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: branch
Expand Down

0 comments on commit 45e8f9a

Please sign in to comment.