Removed pip caching. Updated zip path for docs.

This commit is contained in:
Chapin Bryce 2020-10-15 08:53:21 -04:00
parent 6dec9e225c
commit 6b6871aad7
No known key found for this signature in database
GPG Key ID: AF835C2DD0747B6C
2 changed files with 1 additions and 25 deletions

View File

@ -27,10 +27,6 @@ jobs:
# install pip=>20.1 to use "pip cache dir"
python3 -m pip install --upgrade pip
- name: Get pip cache dir
id: pip-cache
run: echo "::set-output name=dir::$(pip cache dir)"
- name: Install dependencies
run: python3 -m pip install -r ./requirements.txt
@ -40,7 +36,7 @@ jobs:
- name: Compress docs
uses: montudor/action-zip@v0.1.0
with:
args: zip -qq -r pyforhandbook_html_docs_${{ env.RELEASE_VERSION }}.zip ./doc_src/_build/html
args: (cd ./doc_src/_build/ && mv html pyforhandbook_html_docs_${{ env.RELEASE_VERSION }} && zip -qq -r ../../pyforhandbook_html_docs_${{ env.RELEASE_VERSION }}.zip pyforhandbook_html_docs_${{ env.RELEASE_VERSION }})
- name: Create release
id: create_release

View File

@ -21,26 +21,6 @@ jobs:
# install pip=>20.1 to use "pip cache dir"
python3 -m pip install --upgrade pip
- name: Get pip cache dir
id: pip-cache
run: echo "::set-output name=dir::$(pip cache dir)"
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache install dependencies
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: python3 -m pip install -r ./requirements.txt