Unverified Commit 1390ca64 authored by daz's avatar daz
Browse files

Don't rely on preinstalled gradle for test

parent a3f366dd
Loading
Loading
Loading
Loading
+6 −6
Changes for .github/workflows/integ-test-caching-config.yml: 6 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -88,10 +88,10 @@ jobs:
      uses: ./setup-gradle
      with:
        cache-disabled: true
    - name: Run Gradle build
    - name: Build using Gradle wrapper
      id: gradle
      working-directory: .github/workflow-samples/no-wrapper${{ matrix.build-root-suffix }}
      run: gradle help "-DgradleVersionCheck=${{matrix.gradle}}"
      working-directory: .github/workflow-samples/groovy-dsl
      run: ./gradlew help
    - name: Check Build Scan url is captured
      if: ${{ !steps.gradle.outputs.build-scan-url }}
      uses: actions/github-script@v7
@@ -112,10 +112,10 @@ jobs:
      run: mkdir -p ~/.gradle/caches
    - name: Setup Gradle
      uses: ./setup-gradle
    - name: Run Gradle build
    - name: Build using Gradle wrapper
      id: gradle
      working-directory: .github/workflow-samples/no-wrapper${{ matrix.build-root-suffix }}
      run: gradle help "-DgradleVersionCheck=${{matrix.gradle}}"
      working-directory: .github/workflow-samples/groovy-dsl
      run: ./gradlew help
    - name: Check Build Scan url is captured
      if: ${{ !steps.gradle.outputs.build-scan-url }}
      uses: actions/github-script@v7
+2 −2
Changes for .github/workflows/integ-test-detect-java-toolchains.yml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ jobs:
      shell: bash
      working-directory: .github/workflow-samples/groovy-dsl
      run: | 
        gradle --info javaToolchains > output.txt
        ./gradlew --info javaToolchains > output.txt
        cat output.txt
    - name: Verify detected toolchains
      shell: bash
@@ -76,7 +76,7 @@ jobs:
      shell: bash
      working-directory: .github/workflow-samples/groovy-dsl
      run: | 
        gradle --info javaToolchains > output.txt
        ./gradlew --info javaToolchains > output.txt
        cat output.txt
    - name: Verify setup JDKs are detected
      shell: bash