Skip to content

Commit

Permalink
Don't fail if cached main-branch results don't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Mar 23, 2024
1 parent 8775c59 commit bb3ab60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
echo "### Benchmark results"
echo
} > results.md
SHA=$(cat target/criterion/baseline-sha.txt)
SHA=$(cat target/criterion/baseline-sha.txt || true)
if [ -n "$SHA" ]; then
{
echo "Performance differences relative to $SHA."
Expand Down

0 comments on commit bb3ab60

Please sign in to comment.