diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml
index e220ccd..f04281e 100644
--- a/.github/workflows/demo.yml
+++ b/.github/workflows/demo.yml
@@ -42,7 +42,7 @@ jobs:
       - name: Setup Pages
         uses: actions/configure-pages@v3
       - name: Upload artifact
-        uses: actions/upload-pages-artifact@v2
+        uses: actions/upload-pages-artifact@v4
         with:
           # Upload dist repository
           path: './demo/dist'