Skip to content

Commit

Permalink
Merge pull request #13 from CMUSTRUDEL/dev
Browse files Browse the repository at this point in the history
ci: cache pip packages
  • Loading branch information
user2589 authored Jul 26, 2020
2 parents 4f24931 + 0ce67c7 commit ebdae2d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ebdae2d

Please sign in to comment.