diff --git a/.github/workflows/run-experiments-armeria.yml b/.github/workflows/run-experiments-armeria.yml index 4236692..8970b62 100644 --- a/.github/workflows/run-experiments-armeria.yml +++ b/.github/workflows/run-experiments-armeria.yml @@ -9,7 +9,7 @@ on: env: GRADLE_ENTERPRISE_URL: "https://ge.solutions-team.gradle.com" GIT_REPO: "https://github.com/line/armeria" - TASKS: "build -Pretry=true -PfailOnPassedAfterRetry=false -PnoLint -PflakyTests=false -PbuildJdkVersion=19 -PtestJavaVersion=19" + TASKS: "build --no-daemon --max-workers=2 --parallel -PbuildJdkVersion=21 -Pretry=true -PfailOnPassedAfterRetry=false -PnoLint -PflakyTests=false" jobs: Experiment: @@ -22,10 +22,11 @@ jobs: - experimentId: 3 runs-on: ubuntu-latest steps: - - name: Set up JDK 19 + - name: Set up JDK 21 + id: setup-jdk uses: actions/setup-java@v4 with: - java-version: 19 + java-version: 21 distribution: "temurin" - name: Download latest version of the validation scripts uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/download@actions-stable @@ -37,7 +38,7 @@ jobs: GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}" with: gitRepo: ${{ env.GIT_REPO }} - tasks: ${{ env.TASKS }} + tasks: ${{ env.TASKS }} "-Porg.gradle.java.installations.paths=${{ steps.setup-jdk.outputs.path }}" gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }} if: matrix.experimentId == 1 - name: Run experiment 2 @@ -46,7 +47,7 @@ jobs: GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}" with: gitRepo: ${{ env.GIT_REPO }} - tasks: ${{ env.TASKS }} + tasks: ${{ env.TASKS }} "-Porg.gradle.java.installations.paths=${{ steps.setup-jdk.outputs.path }}" gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }} failIfNotFullyCacheable: true if: matrix.experimentId == 2 @@ -56,7 +57,7 @@ jobs: GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}" with: gitRepo: ${{ env.GIT_REPO }} - tasks: ${{ env.TASKS }} + tasks: ${{ env.TASKS }} "-Porg.gradle.java.installations.paths=${{ steps.setup-jdk.outputs.path }}" gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }} failIfNotFullyCacheable: true if: matrix.experimentId == 3