From 01c62f1408f1709e5be3346eea0f9bc8750ed81b Mon Sep 17 00:00:00 2001 From: Matthew Pope <81593196+popematt@users.noreply.github.com> Date: Fri, 20 Oct 2023 11:30:43 -0700 Subject: [PATCH] Fix checkout step in regression workflow --- .../workflows/ion-java-performance-regression-detector.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ion-java-performance-regression-detector.yml b/.github/workflows/ion-java-performance-regression-detector.yml index ae35956dfe..e361fadc87 100644 --- a/.github/workflows/ion-java-performance-regression-detector.yml +++ b/.github/workflows/ion-java-performance-regression-detector.yml @@ -74,12 +74,15 @@ jobs: uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: ref: ${{ github.base_ref }} + submodules: recursive path: baseline - name: Checkout ion-java from the new commit. uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: + repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.head_ref }} + submodules: recursive path: new - name: Download test Ion Data from artifacts @@ -92,7 +95,7 @@ jobs: - name: Build ion-java from the base commit working-directory: baseline run: | - git submodule init && git submodule update && ./gradlew clean publishToMavenLocal + ./gradlew clean publishToMavenLocal - name: Benchmark ion-java from the base commit working-directory: ion-java-benchmark-cli @@ -104,7 +107,7 @@ jobs: - name: Build ion-java from the new commit working-directory: new run: | - git submodule init && git submodule update && ./gradlew clean publishToMavenLocal + ./gradlew clean publishToMavenLocal - name: Benchmark ion-java from the new commit working-directory: ion-java-benchmark-cli