diff --git a/.github/workflows/ci_test_workspace.yml b/.github/workflows/ci_test_workspace.yml index 7d25145efc..f0409e07ad 100644 --- a/.github/workflows/ci_test_workspace.yml +++ b/.github/workflows/ci_test_workspace.yml @@ -86,6 +86,13 @@ jobs: - name: Print playwright version run: echo "${{ env.PLAYWRIGHT_VERSION }}" + - name: Toto + env: + FOO: format({0}{1}, $HOME, '\AppData\Local\ms-playwright') + BAR: $HOME\AppData\Local\ms-playwright + ZAZ: ${{ $HOME\AppData\Local\ms-playwright }} + ZOO: ${{ env.HOME\AppData\Local\ms-playwright }} + run: echo "${{ env.FOO }}, ${{ env.BAR }}, ${{ env.ZAZ }}, ${{ env.ZOO }}" # Attempt to restore the correct Playwright browser binaries based on the # currently installed version of Playwright (The browser binary versions @@ -98,7 +105,7 @@ jobs: id: playwright-cache with: # see https://playwright.dev/docs/browsers#managing-browser-binaries - path: ${{ runner.os == 'Windows' && join(env.HOME, '\AppData\Local\ms-playwright') || runner.os == 'Linux' && '~/.cache/ms-playwright' || '~/Library/Caches/ms-playwright' }} + path: ${{ runner.os == 'Windows' && format({0}{1}, env.HOME, '\AppData\Local\ms-playwright') || runner.os == 'Linux' && '~/.cache/ms-playwright' || '~/Library/Caches/ms-playwright' }} key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }} # As a fallback, if the Playwright version has changed, try use the # most recently cached version. There's a good chance that at least one