Skip to content

Commit

Permalink
test(e2e): refer to correct env variable for Playwright version in wo…
Browse files Browse the repository at this point in the history
…rkflow file

The key here should be made from env, and not vars.

See: https://github.com/sanity-io/sanity/actions/caches
  • Loading branch information
skogsmaskin committed Dec 12, 2024
1 parent 6bf4d2a commit e3febfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: playwright-browsers-${{ vars.PLAYWRIGHT_VERSION }}
key: playwright-browsers-${{ env.PLAYWRIGHT_VERSION }}

- name: Install Playwright Browsers
if: steps.cache-playwright-browsers.outputs.cache-hit != 'true'
Expand Down

0 comments on commit e3febfc

Please sign in to comment.