File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -131,15 +131,17 @@ jobs:
131131 echo "PLAYWRIGHT_BROWSERS_PATH=$HOME\.cache\playwright-bin" >> $env:GITHUB_ENV
132132 echo "CYPRESS_CACHE_FOLDER=$HOME\.cache\cypress-bin" >> $env:GITHUB_ENV
133133
134- - name : Cache Cypress binaries
134+ - if : ${{ contains(matrix.flag-for-e2e, '--cypress') }}
135+ name : Cache Cypress binaries
135136 id : cache-cypress
136137 uses : actions/cache@v3
137138 with :
138139 # TODO: avoid snowballing by adding version
139140 key : ${{ runner.os }}-cypress-bin
140141 path : ${{ env.CYPRESS_CACHE_FOLDER }}
141142
142- - name : Cache Playwright's binary
143+ - if : ${{ contains(matrix.flag-for-e2e, '--playwright') }}
144+ name : Cache Playwright's binary
143145 uses : actions/cache@v3
144146 with :
145147 # Playwright removes unused browsers automatically
You can’t perform that action at this time.
0 commit comments