diff --git a/.github/workflows/pr-ci.yaml b/.github/workflows/pr-ci.yaml
index 9169bba06..b3cf78a58 100644
--- a/.github/workflows/pr-ci.yaml
+++ b/.github/workflows/pr-ci.yaml
@@ -115,7 +115,7 @@ jobs:
         cache: 'maven'
     - run: git submodule init && git submodule update
     - name: Cache yarn packages
-      uses: actions/cache@v3
+      uses: actions/cache@v4
       with:
         path: "./src/main/webui/.yarn/cache"
         key: ${{ runner.os }}-build-${{ env.deps-cache-name }}-${{ hashFiles('**/yarn.lock') }}
@@ -124,7 +124,7 @@ jobs:
           ${{ runner.os }}-build-
           ${{ runner.os }}-
     - name: Cache frontend build
-      uses: actions/cache@v3
+      uses: actions/cache@v4
       with:
         path: "./src/main/webui/.build_cache"
         key: ${{ runner.os }}-build-${{ env.build-cache-name }}-${{ hashFiles('**/yarn.lock') }}
diff --git a/.github/workflows/push-ci.yaml b/.github/workflows/push-ci.yaml
index 821551a32..d8ee45cb2 100644
--- a/.github/workflows/push-ci.yaml
+++ b/.github/workflows/push-ci.yaml
@@ -66,7 +66,7 @@ jobs:
         cache: 'maven'
     - run: git submodule init && git submodule update
     - name: Cache yarn packages
-      uses: actions/cache@v3
+      uses: actions/cache@v4
       with:
         path: "./src/main/webui/.yarn/cache"
         key: ${{ runner.os }}-build-${{ env.deps-cache-name }}-${{ hashFiles('**/yarn.lock') }}
@@ -75,7 +75,7 @@ jobs:
           ${{ runner.os }}-build-
           ${{ runner.os }}-
     - name: Cache frontend build
-      uses: actions/cache@v3
+      uses: actions/cache@v4
       with:
         path: "./src/main/webui/.build_cache"
         key: ${{ runner.os }}-build-${{ env.build-cache-name }}-${{ hashFiles('**/yarn.lock') }}