diff --git a/.github/workflows/avro-compatibility.yml b/.github/workflows/avro-compatibility.yml index 9304f495872..5aa220ae13a 100644 --- a/.github/workflows/avro-compatibility.yml +++ b/.github/workflows/avro-compatibility.yml @@ -17,4 +17,5 @@ jobs: java-version: ${{ matrix.java }} - uses: gradle/gradle-build-action@v2 with: - arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }} + gradle-executable: lang/java/gradle-plugin/gradlew + arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }} --project-dir lang/java/gradle-plugin diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04029994afa..5f30ec19ce4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,15 +5,12 @@ jobs: name: "Build" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: "zulu" - java-version: 8 - - uses: gradle/gradle-build-action@v2 - with: - arguments: build -# - uses: codecov/codecov-action@v1 -# with: -# file: ./build/reports/jacoco/test/jacocoTestReport.xml -# fail_ci_if_error: true + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + distribution: "zulu" + java-version: 8 + - uses: gradle/gradle-build-action@v2 + with: + gradle-executable: lang/java/gradle-plugin/gradlew + arguments: build --project-dir lang/java/gradle-plugin diff --git a/.github/workflows/gradle-compatibility.yml b/.github/workflows/gradle-compatibility.yml index a2a195ded7f..a4051d6af91 100644 --- a/.github/workflows/gradle-compatibility.yml +++ b/.github/workflows/gradle-compatibility.yml @@ -23,4 +23,5 @@ jobs: java-version: ${{ matrix.java }} - uses: gradle/gradle-build-action@v2 with: - arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }} + gradle-executable: lang/java/gradle-plugin/gradlew + arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }} --project-dir lang/java/gradle-plugin diff --git a/.github/workflows/java-compatibility.yml b/.github/workflows/java-compatibility.yml index 047e08e512d..f33510a13c3 100644 --- a/.github/workflows/java-compatibility.yml +++ b/.github/workflows/java-compatibility.yml @@ -18,7 +18,8 @@ jobs: java-version: ${{ matrix.java }} - uses: gradle/gradle-build-action@v2 with: - arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }} + gradle-executable: lang/java/gradle-plugin/gradlew + arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }} --project-dir lang/java/gradle-plugin java17: name: "Compatibility: java ${{ matrix.java }}/gradle ${{ matrix.gradle }}" runs-on: "ubuntu-latest" @@ -35,7 +36,8 @@ jobs: java-version: ${{ matrix.java }} - uses: gradle/gradle-build-action@v2 with: - arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }} + gradle-executable: lang/java/gradle-plugin/gradlew + arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }} --project-dir lang/java/gradle-plugin java18: name: "Compatibility: java ${{ matrix.java }}/gradle ${{ matrix.gradle }}" runs-on: "ubuntu-latest" @@ -52,7 +54,8 @@ jobs: java-version: ${{ matrix.java }} - uses: gradle/gradle-build-action@v2 with: - arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }} + gradle-executable: lang/java/gradle-plugin/gradlew + arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }} --project-dir lang/java/gradle-plugin java-19: name: "Compatibility: java ${{ matrix.java }}/gradle ${{ matrix.gradle }}" runs-on: "ubuntu-latest" @@ -70,7 +73,8 @@ jobs: - uses: gradle/gradle-build-action@v2 continue-on-error: true with: - arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }} + gradle-executable: lang/java/gradle-plugin/gradlew + arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }} --project-dir lang/java/gradle-plugin java-ea: name: "Compatibility: java ${{ matrix.java }}/gradle ${{ matrix.gradle }}" runs-on: "ubuntu-latest" @@ -89,4 +93,5 @@ jobs: - uses: gradle/gradle-build-action@v2 continue-on-error: true with: - arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }} + gradle-executable: lang/java/gradle-plugin/gradlew + arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }} --project-dir lang/java/gradle-plugin diff --git a/.github/workflows/os-compatibility.yml b/.github/workflows/os-compatibility.yml index 58f8e30dd76..b981bbc3ad1 100644 --- a/.github/workflows/os-compatibility.yml +++ b/.github/workflows/os-compatibility.yml @@ -9,11 +9,12 @@ jobs: java: [8] # Minimum supported major version os: [ubuntu-latest, windows-latest, macOS-latest] # All supported OS steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: "zulu" - java-version: ${{ matrix.java }} - - uses: gradle/gradle-build-action@v2 - with: - arguments: test + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + distribution: "zulu" + java-version: ${{ matrix.java }} + - uses: gradle/gradle-build-action@v2 + with: + gradle-executable: lang/java/gradle-plugin/gradlew + arguments: test --project-dir lang/java/gradle-plugin