Skip to content

Commit 53aa655

Browse files
committed
fix
1 parent 7ca5358 commit 53aa655

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/benchmarks.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,11 @@ jobs:
8484

8585
- name: Set base datasource for comparison
8686
run: |
87-
if [ "${{ github.event.inputs.compare_to_self }}" = "true" ]; then
88-
echo "BASE_DATASOURCE=${{ matrix.datasource }}" >> $GITHUB_ENV
89-
else
87+
if [ "${{ github.event.inputs.compare_to_self }}" = "false" ]; then
9088
echo "BASE_DATASOURCE=default" >> $GITHUB_ENV
89+
else
90+
# also the case when compare_to_self="" because run is trigger by PR.
91+
echo "BASE_DATASOURCE=${{ matrix.datasource }}" >> $GITHUB_ENV
9192
fi
9293
9394
- name: Benchmark old commit

0 commit comments

Comments
 (0)