File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 - uses : actions/setup-python@v4
3636 with :
3737 python-version : ' 3.7'
38- - if : (!startsWith(runner.os, 'windows'))
38+ - name : set pip cache dir
39+ shell : bash
3940 run : echo "PIP_CACHE_DIR=$(pip cache dir)" >> $GITHUB_ENV
40- - if : startsWith(runner.os, 'windows')
41- run : echo "PIP_CACHE_DIR=$(pip cache dir)" >> $env:GITHUB_ENV
4241 - name : extract pip cache
4342 uses : actions/cache@v3
4443 with :
@@ -152,10 +151,9 @@ jobs:
152151 uses : ASzc/change-string-case-action@v5
153152 with :
154153 string : ${{ runner.os }}
155- - if : (!startsWith(runner.os, 'windows'))
154+ - name : set pip cache dir
155+ shell : bash
156156 run : echo "PIP_CACHE_DIR=$(pip cache dir)" >> $GITHUB_ENV
157- - if : startsWith(runner.os, 'windows')
158- run : echo "PIP_CACHE_DIR=$(pip cache dir)" >> $env:GITHUB_ENV
159157 - name : extract pip cache
160158 uses : actions/cache@v3
161159 with :
You can’t perform that action at this time.
0 commit comments