Xuanwo commented on code in PR #7642:
URL: https://github.com/apache/opendal/pull/7642#discussion_r3347929110


##########
.github/actions/setup-hadoop/action.yaml:
##########
@@ -26,25 +26,26 @@ runs:
   using: "composite"
   steps:
     - name: Setup java env
-      uses: actions/setup-java@v4
+      uses: actions/setup-java@v5
       with:
         distribution: zulu
         java-version: 11
 
-    - name: Cache hadoop
-      id: cache-hadoop
-      uses: actions/cache@v4
+    - name: Download hadoop
       if: inputs.need-hadoop == 'true'
-      with:
-        path: /home/runner/hadoop-3.3.5
-        key: cache-hadoop-3.3.5
-
-    - name: Build hadoop if not cached
-      if: steps.cache-hadoop.outputs.cache-hit != 'true' && inputs.need-hadoop 
== 'true'
       shell: bash
       run: |
         set -e
-        curl -LsSf 
https://dlcdn.apache.org/hadoop/common/hadoop-3.3.5/hadoop-3.3.5.tar.gz | tar 
zxf - -C /home/runner
+        curl \
+          --location \
+          --silent \
+          --show-error \
+          --fail \
+          
https://dlcdn.apache.org/hadoop/common/hadoop-3.3.5/hadoop-3.3.5.tar.gz | tar \

Review Comment:
   We need this cache. ASF's CDN is slow and unstable.



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