dongjoon-hyun commented on code in PR #51499:
URL: https://github.com/apache/spark/pull/51499#discussion_r2216585255


##########
.github/workflows/build_and_test.yml:
##########
@@ -920,6 +921,24 @@ jobs:
     - name: R linter
       run: ./dev/lint-r
 
+  java17:
+    needs: [precondition]
+    if: fromJson(needs.precondition.outputs.required).java17 == 'true'
+    name: Java 17 build with Maven
+    runs-on: ubuntu-latest
+    timeout-minutes: 120
+    steps:
+    - uses: actions/checkout@v4
+    - uses: actions/setup-java@v4
+      with:
+        distribution: zulu
+        java-version: 17

Review Comment:
   Oh, I missed your comment here. Yes, it does. If we don't specify the exact 
version like `17.0.x`, 17 is the alias.
   
   In addition, `actions/setup-java@v4` itself is an alias of `v4.x.x`, too. We 
are consuming the auto-updated status, @cloud-fan .



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to