Skip to content

Commit c256b5c

Browse files
committed
Fix issue with double cloning
1 parent 0faada5 commit c256b5c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

devops/actions/benchmarking/aggregate/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ runs:
5757
- name: Checkout historical performance results repository
5858
shell: bash
5959
run: |
60-
git clone -b "$SANITIZED_PERF_RES_GIT_BRANCH" "https://github.com/$SANITIZED_PERF_RES_GIT_REPO" "$SANITIZED_PERF_RES_PATH"
60+
if [ ! -d "$SANITIZED_PERF_RES_PATH"]; then
61+
git clone -b "$SANITIZED_PERF_RES_GIT_BRANCH" "https://github.com/$SANITIZED_PERF_RES_GIT_REPO" "$SANITIZED_PERF_RES_PATH"
62+
fi
6163
- name: Run aggregator on historical results
6264
shell: bash
6365
run: |

0 commit comments

Comments
 (0)