From e8822d212a123da9e5d976d17d1e1963a4083556 Mon Sep 17 00:00:00 2001 From: Shota Kubota Date: Sun, 21 Jul 2024 17:34:28 +0900 Subject: [PATCH] ci(github/e2e_test): correct directory for saving browser binary files --- .github/workflows/e2e_test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e_test.yml b/.github/workflows/e2e_test.yml index c6dcce547..7bf246763 100644 --- a/.github/workflows/e2e_test.yml +++ b/.github/workflows/e2e_test.yml @@ -28,8 +28,10 @@ jobs: id: cache-playwright-browsers uses: actions/cache@v4 with: - key: playwright-browsers-${{ runner.os }}-${{ env.PLAYWRIGHT_VERSION }} - path: ~/.cache/playwright + key: playwright-browsers-linux-${{ env.PLAYWRIGHT_VERSION }} + # On Linux, browser binaries are saved in `~/.cache/ms-playwright`. + # https://playwright.dev/docs/browsers#managing-browser-binaries + path: ~/.cache/ms-playwright - name: Install Playwright system dependencies if: steps.cache-playwright-browsers.outputs.cache-hit == 'true'