👷 update ci add cache

This commit is contained in:
yanyongyu 2021-01-18 14:43:06 +08:00
parent b0a71b461f
commit 8973e66ec5

View File

@ -19,10 +19,17 @@ jobs:
python-version: 3.8 python-version: 3.8
architecture: "x64" architecture: "x64"
- name: Install Dependences - uses: Gr1N/setup-poetry@v4
- uses: actions/cache@v1
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
- name: Set up dependencies
run: | run: |
python -m pip install --upgrade pip
pip install poetry
poetry install poetry install
- name: Build Doc - name: Build Doc