diff --git a/.github/actions/build-cache/action.yml b/.github/actions/build-cache/action.yml
index e74a9468d5..1b98a87c1a 100644
--- a/.github/actions/build-cache/action.yml
+++ b/.github/actions/build-cache/action.yml
@@ -26,7 +26,9 @@ runs:
       id: cache-maven
       uses: actions/cache/restore@v4
       with:
-        path: ~/.m2/repository
+        path: |
+          ~/.m2/repository
+          **SNAPSHOT**
         key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
         restore-keys: |
           ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}