Update sphinx_build_deploy.yml

comment out caching since it doesn't quite work right anyway
This commit is contained in:
srcarter3 2020-09-02 16:29:40 -06:00 committed by GitHub
parent a0b0bb6640
commit f48d6c720b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,25 +18,27 @@ jobs:
with:
python-version: '3.8'
- name: Install pip
run: |
python -m pip install --upgrade pip
# Caching works, but then it reinstalls the regular dependencies anyway, so defeats the purpose of caching.
# - name: Install pip
# run: |
# python -m pip install --upgrade pip
- name: Get pip cache dir
id: pip-cache
run : echo "::set-output name=dir::$(pip cache dir)"
# - name: Get pip cache dir
# id: pip-cache
# run : echo "::set-output name=dir::$(pip cache dir)"
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/docs/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
# - name: Cache dependencies
# uses: actions/cache@v1
# with:
# path: ${{ steps.pip-cache.outputs.dir }}
# key: ${{ runner.os }}-pip-${{ hashFiles('**/docs/requirements.txt') }}
# restore-keys: |
# ${{ runner.os }}-pip-
- name: Install dependencies
run: |
sudo apt install pandoc
python -m pip install --upgrade pip
pip install -r docs/requirements.txt
- name: Install ReadTheDocs theme