diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eb21084..91a8a51 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,9 +36,17 @@ jobs: ref: gh-pages path: docs/build/html + - name: Cache pip + uses: actions/cache@v1 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }} + restore-keys: | + ${{ runner.os }}-pip- + - name: Build pages with sphinx run: | - python3 -m pip install --upgrade pip setuptools + python3 -m pip install --upgrade pip setuptools wheel # basically, make install_dev but explicitly use pip3 pip3 install typing sphinx sphinx-autobuild if [ -f requirements.txt ]; then pip3 install -r requirements.txt; fi