chia7712 commented on code in PR #23012:
URL: https://github.com/apache/kafka/pull/23012#discussion_r3952955210


##########
.github/workflows/build.yml:
##########
@@ -176,6 +176,46 @@ jobs:
       - name: Verify license file
         run: python committer-tools/verify_license.py --skip-build
 
+  api-checker:
+    needs: [configure, validate]
+    if: ${{ ! needs.configure.outputs.is-draft }}
+    runs-on: ubuntu-latest
+    timeout-minutes: 30
+    name: API Checker Java 25
+
+    steps:
+      - name: Checkout code
+        uses: actions/checkout@v5
+        with:
+          persist-credentials: false
+          ref: ${{ needs.configure.outputs.sha }}
+
+      - name: Setup Gradle
+        uses: ./.github/actions/setup-gradle
+        with:
+          java-version: 25
+          gradle-cache-read-only: ${{ !inputs.is-trunk }}
+          gradle-cache-write-only: ${{ inputs.is-trunk }}
+          develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
+
+      - name: Run API checker checks
+        run: |
+          ./gradlew --no-build-cache --continue --no-scan \

Review Comment:
   I don't get the point of --no-build-cache and --no-scan. Why do you use them 
while still passing the related keys?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to