diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 85de433..b2b5eb2 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -9,7 +9,7 @@ jobs:
       - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
       - id: yarn_cache
         run: echo "::set-output name=dir::$(yarn cache dir)"
-      - uses: actions/cache@v3
+      - uses: actions/cache@v4
         with:
           path: ${{ steps.yarn_cache.outputs.dir }}
           key: yarn-${{ hashFiles('**/yarn.lock') }}