diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index a0fb4a6..947c8ec 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -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 diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 14d663f..28cb49c 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -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