@@ -157,7 +157,7 @@ jobs:
157157
158158 # 1. Cache Python Dependencies.
159159 # Caching (https://github.com/actions/cache/blob/main/examples.md#python---pip
160- - name : Cache
160+ - name : Cache pip on linux
161161 uses : actions/cache@v2
162162 # if: startsWith(runner.os, 'Linux')
163163 if : matrix.test-suite == 'functional' && matrix.os == 'ubuntu-latest'
@@ -167,15 +167,17 @@ jobs:
167167 restore-keys : |
168168 ${{ runner.os }}-pip-${{env.PYTHON_VERSION}}-
169169
170- - uses : actions/cache@v2
170+ - name : Cache pip on mac
171+ uses : actions/cache@v2
171172 if : matrix.test-suite == 'functional' && matrix.os == 'macos-latest'
172173 with :
173174 path : ~/Library/Caches/pip
174175 key : ${{ runner.os }}-pip-${{env.PYTHON_VERSION}}-${{ hashFiles('requirements.txt') }}
175176 restore-keys : |
176177 ${{ runner.os }}-pip-${{env.PYTHON_VERSION}}-
177178
178- - uses : actions/cache@v2
179+ - name : Cache pip on windows
180+ uses : actions/cache@v2
179181 # if: startsWith(runner.os, 'Windows')
180182 if : matrix.test-suite == 'functional' && matrix.os == 'windows-latest'
181183 with :
@@ -212,7 +214,8 @@ jobs:
212214
213215 # if: ${{ inputs.install_functional_test_dependencies == 'true' }}
214216 # 3. Caching of npm packages (https://github.com/actions/cache/blob/main/examples.md#node---npm)
215- - uses : actions/cache@v2
217+ - name : Cache npm on linux/mac
218+ uses : actions/cache@v2
216219 if : matrix.os != 'windows-latest'
217220 with :
218221 path : ~/.npm
@@ -225,7 +228,8 @@ jobs:
225228 id : npm-cache
226229 run : |
227230 echo "::set-output name=dir::$(npm config get cache)"
228- - uses : actions/cache@v2
231+ - name : Cache npm on windows
232+ uses : actions/cache@v2
229233 if : matrix.os == 'windows-latest'
230234 with :
231235 path : ${{ steps.npm-cache.outputs.dir }}
0 commit comments