This is an automated email from the ASF dual-hosted git repository.

erickguan pushed a commit to branch reduce-cache-usage
in repository https://gitbox.apache.org/repos/asf/opendal.git

commit d4628dad6d356b60a4904524d2266403bccb3c96
Author: Erick Guan <[email protected]>
AuthorDate: Sat May 30 10:14:25 2026 +0800

    Remove unused cache
---
 .github/actions/setup-hadoop/action.yaml | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/.github/actions/setup-hadoop/action.yaml 
b/.github/actions/setup-hadoop/action.yaml
index 476bbb071..5ccfcf383 100644
--- a/.github/actions/setup-hadoop/action.yaml
+++ b/.github/actions/setup-hadoop/action.yaml
@@ -31,20 +31,21 @@ runs:
         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 \
+            --gzip \
+            --extract \
+            --file - \
+            --directory /home/runner
 
     - name: Setup hadoop env
       shell: bash

Reply via email to