Skip to content

Commit

Permalink
Add explicit move of PR bench results if they were named HEAD instead…
Browse files Browse the repository at this point in the history
… of by the short sha (#9636)
  • Loading branch information
gruuya committed Mar 16, 2024
1 parent 0eec5f8 commit e83efce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pr_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ jobs:
cd benchmarks
./bench.sh run tpch
# For some reason this step doesn't seem to propagate the env var down into the script
if [ -d "results/HEAD" ]; then
echo "Moving results into ${{ env.HEAD_SHORT_SHA }}"
mv results/HEAD results/${{ env.HEAD_SHORT_SHA }}
fi
- name: Checkout base commit
uses: actions/checkout@v4
Expand Down

0 comments on commit e83efce

Please sign in to comment.