File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -787,18 +787,23 @@ jobs:
787
787
python-version: '3.6'
788
788
architecture: 'x64'
789
789
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
+
790
797
- name: Cache dependencies
791
798
uses: actions/cache@v1
792
799
with:
793
- path: ~/.cache/ pip
800
+ path: ${{ steps. pip-cache.outputs.dir }}
794
801
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
795
802
restore-keys: |
796
803
${{ runner.os }}-pip-
797
804
798
805
- 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
802
807
803
808
- run: mkdocs build
804
809
You can’t perform that action at this time.
0 commit comments