File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 35
35
- uses : actions/setup-python@v4
36
36
with :
37
37
python-version : ' 3.7'
38
- - if : (!startsWith(runner.os, 'windows'))
38
+ - name : set pip cache dir
39
+ shell : bash
39
40
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
42
41
- name : extract pip cache
43
42
uses : actions/cache@v3
44
43
with :
@@ -152,10 +151,9 @@ jobs:
152
151
uses : ASzc/change-string-case-action@v5
153
152
with :
154
153
string : ${{ runner.os }}
155
- - if : (!startsWith(runner.os, 'windows'))
154
+ - name : set pip cache dir
155
+ shell : bash
156
156
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
159
157
- name : extract pip cache
160
158
uses : actions/cache@v3
161
159
with :
You can’t perform that action at this time.
0 commit comments