Skip to content

Commit e4462d9

Browse files
authored
1 parent 91e6658 commit e4462d9

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -787,18 +787,23 @@ jobs:
787787
python-version: '3.6'
788788
architecture: 'x64'
789789
790+
- name: Upgrade pip
791+
run: python3 -m pip install --upgrade pip
792+
793+
- name: Get pip cache dir
794+
id: pip-cache
795+
run: echo "::set-output name=dir::$(pip cache dir)"
796+
790797
- name: Cache dependencies
791798
uses: actions/cache@v1
792799
with:
793-
path: ~/.cache/pip
800+
path: ${{ steps.pip-cache.outputs.dir }}
794801
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
795802
restore-keys: |
796803
${{ runner.os }}-pip-
797804
798805
- name: Install dependencies
799-
run: |
800-
python3 -m pip install --upgrade pip
801-
python3 -m pip install -r ./requirements.txt
806+
run: python3 -m pip install -r ./requirements.txt
802807
803808
- run: mkdocs build
804809

0 commit comments

Comments
 (0)