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

haonan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-client-go.git


The following commit(s) were added to refs/heads/main by this push:
     new bf6a3e3  fix github action cache error
bf6a3e3 is described below

commit bf6a3e3b1c0e559dc19f0a4bac23b53569a89f2c
Author: HTHou <[email protected]>
AuthorDate: Wed Aug 28 18:45:57 2024 +0800

    fix github action cache error
---
 .github/workflows/e2e.yml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 195d7a7..d3273de 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -27,7 +27,7 @@ jobs:
     - name: Check out code into the Go module directory
       uses: actions/checkout@v4
 
-    - name: Cache go dependency
+    - name: Cache Go dependency
       uses: actions/cache@v4
       with:
         path: |
@@ -37,6 +37,14 @@ jobs:
         restore-keys: |
           ${{ runner.os }}-go-
 
+    - name: Cache Maven dependency
+      uses: actions/cache@v4
+      with:
+        path: ~/.m2/repository
+        key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+        restore-keys: |
+          ${{ runner.os }}-maven-
+
     - name: Integration test
       run: |
         make e2e_test e2e_test_clean

Reply via email to