mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
Update sphinx_build_deploy.yml
comment out caching since it doesn't quite work right anyway
This commit is contained in:
parent
a0b0bb6640
commit
f48d6c720b
1 changed files with 15 additions and 13 deletions
28
.github/workflows/sphinx_build_deploy.yml
vendored
28
.github/workflows/sphinx_build_deploy.yml
vendored
|
@ -18,25 +18,27 @@ jobs:
|
||||||
with:
|
with:
|
||||||
python-version: '3.8'
|
python-version: '3.8'
|
||||||
|
|
||||||
- name: Install pip
|
# Caching works, but then it reinstalls the regular dependencies anyway, so defeats the purpose of caching.
|
||||||
run: |
|
# - name: Install pip
|
||||||
python -m pip install --upgrade pip
|
# run: |
|
||||||
|
# python -m pip install --upgrade pip
|
||||||
|
|
||||||
- name: Get pip cache dir
|
# - name: Get pip cache dir
|
||||||
id: pip-cache
|
# id: pip-cache
|
||||||
run : echo "::set-output name=dir::$(pip cache dir)"
|
# run : echo "::set-output name=dir::$(pip cache dir)"
|
||||||
|
|
||||||
- name: Cache dependencies
|
# - name: Cache dependencies
|
||||||
uses: actions/cache@v1
|
# uses: actions/cache@v1
|
||||||
with:
|
# with:
|
||||||
path: ${{ steps.pip-cache.outputs.dir }}
|
# path: ${{ steps.pip-cache.outputs.dir }}
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/docs/requirements.txt') }}
|
# key: ${{ runner.os }}-pip-${{ hashFiles('**/docs/requirements.txt') }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
${{ runner.os }}-pip-
|
# ${{ runner.os }}-pip-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt install pandoc
|
sudo apt install pandoc
|
||||||
|
python -m pip install --upgrade pip
|
||||||
pip install -r docs/requirements.txt
|
pip install -r docs/requirements.txt
|
||||||
|
|
||||||
- name: Install ReadTheDocs theme
|
- name: Install ReadTheDocs theme
|
||||||
|
|
Loading…
Add table
Reference in a new issue