From d0efa7b0e710fcf06320f076c779166abd964a20 Mon Sep 17 00:00:00 2001 From: daz Date: Thu, 14 Nov 2024 12:03:24 -0700 Subject: [PATCH] Avoid duplicate actions/setup-java --- .../integ-test-build-scan-publish.yml | 5 --- .../integ-test-inject-develocity.yml | 20 ----------- ...integ-test-restore-configuration-cache.yml | 35 ------------------- 3 files changed, 60 deletions(-) diff --git a/.github/workflows/integ-test-build-scan-publish.yml b/.github/workflows/integ-test-build-scan-publish.yml index 5afe83e..64db85a 100644 --- a/.github/workflows/integ-test-build-scan-publish.yml +++ b/.github/workflows/integ-test-build-scan-publish.yml @@ -34,11 +34,6 @@ jobs: - name: Initialize integ-test uses: ./.github/actions/init-integ-test - - name: Setup Java - uses: actions/setup-java@v4 - with: - distribution: temurin - java-version: 11 - name: Setup Gradle id: setup-gradle uses: ./setup-gradle diff --git a/.github/workflows/integ-test-inject-develocity.yml b/.github/workflows/integ-test-inject-develocity.yml index 4c0d47a..6c7ac26 100644 --- a/.github/workflows/integ-test-inject-develocity.yml +++ b/.github/workflows/integ-test-inject-develocity.yml @@ -50,11 +50,6 @@ jobs: - name: Initialize integ-test uses: ./.github/actions/init-integ-test - - name: Setup Java - uses: actions/setup-java@v4 - with: - distribution: temurin - java-version: 11 - name: Setup Gradle id: setup-gradle uses: ./setup-gradle @@ -94,11 +89,6 @@ jobs: uses: actions/checkout@v4 - name: Initialize integ-test uses: ./.github/actions/init-integ-test - - name: Setup Java - uses: actions/setup-java@v4 - with: - distribution: temurin - java-version: 8 - name: Setup Gradle id: setup-gradle uses: ./setup-gradle @@ -144,11 +134,6 @@ jobs: - name: Initialize integ-test uses: ./.github/actions/init-integ-test - - name: Setup Java - uses: actions/setup-java@v4 - with: - distribution: temurin - java-version: 8 - name: Setup Gradle id: setup-gradle uses: ./setup-gradle @@ -179,11 +164,6 @@ jobs: uses: actions/checkout@v4 - name: Initialize integ-test uses: ./.github/actions/init-integ-test - - name: Setup Java - uses: actions/setup-java@v4 - with: - distribution: temurin - java-version: 8 - name: Setup Gradle id: setup-gradle uses: ./setup-gradle diff --git a/.github/workflows/integ-test-restore-configuration-cache.yml b/.github/workflows/integ-test-restore-configuration-cache.yml index ad02016..666a7b3 100644 --- a/.github/workflows/integ-test-restore-configuration-cache.yml +++ b/.github/workflows/integ-test-restore-configuration-cache.yml @@ -39,11 +39,6 @@ jobs: - name: Initialize integ-test uses: ./.github/actions/init-integ-test - - name: Setup Java to ensure consistency - uses: actions/setup-java@v4 - with: - distribution: 'liberica' - java-version: 17 - name: Setup Gradle uses: ./setup-gradle with: @@ -72,11 +67,6 @@ jobs: - name: Initialize integ-test uses: ./.github/actions/init-integ-test - - name: Setup Java to ensure consistency - uses: actions/setup-java@v4 - with: - distribution: 'liberica' - java-version: 17 - name: Setup Gradle uses: ./setup-gradle with: @@ -114,11 +104,6 @@ jobs: - name: Initialize integ-test uses: ./.github/actions/init-integ-test - - name: Setup Java to ensure consistency - uses: actions/setup-java@v4 - with: - distribution: 'liberica' - java-version: 17 - name: Setup Gradle uses: ./setup-gradle with: @@ -155,11 +140,6 @@ jobs: - name: Initialize integ-test uses: ./.github/actions/init-integ-test - - name: Setup Java to ensure consistency - uses: actions/setup-java@v4 - with: - distribution: 'liberica' - java-version: 17 - name: Setup Gradle with no extracted cache entries restored uses: ./setup-gradle env: @@ -187,11 +167,6 @@ jobs: - name: Initialize integ-test uses: ./.github/actions/init-integ-test - - name: Setup Java to ensure consistency - uses: actions/setup-java@v4 - with: - distribution: 'liberica' - java-version: 17 - name: Setup Gradle uses: ./setup-gradle with: @@ -220,11 +195,6 @@ jobs: - name: Initialize integ-test uses: ./.github/actions/init-integ-test - - name: Setup Java to ensure consistency - uses: actions/setup-java@v4 - with: - distribution: 'liberica' - java-version: 17 - name: Setup Gradle uses: ./setup-gradle with: @@ -253,11 +223,6 @@ jobs: - name: Initialize integ-test uses: ./.github/actions/init-integ-test - - name: Setup Java to ensure consistency - uses: actions/setup-java@v4 - with: - distribution: 'liberica' - java-version: 17 - name: Setup Gradle uses: ./setup-gradle with: