File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -131,15 +131,17 @@ jobs:
131
131
echo "PLAYWRIGHT_BROWSERS_PATH=$HOME\.cache\playwright-bin" >> $env:GITHUB_ENV
132
132
echo "CYPRESS_CACHE_FOLDER=$HOME\.cache\cypress-bin" >> $env:GITHUB_ENV
133
133
134
- - name : Cache Cypress binaries
134
+ - if : ${{ contains(matrix.flag-for-e2e, '--cypress') }}
135
+ name : Cache Cypress binaries
135
136
id : cache-cypress
136
137
uses : actions/cache@v3
137
138
with :
138
139
# TODO: avoid snowballing by adding version
139
140
key : ${{ runner.os }}-cypress-bin
140
141
path : ${{ env.CYPRESS_CACHE_FOLDER }}
141
142
142
- - name : Cache Playwright's binary
143
+ - if : ${{ contains(matrix.flag-for-e2e, '--playwright') }}
144
+ name : Cache Playwright's binary
143
145
uses : actions/cache@v3
144
146
with :
145
147
# Playwright removes unused browsers automatically
You can’t perform that action at this time.
0 commit comments