Skip to content

Commit

Permalink
CI: In doc build install poetry if no cache hit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Stevens-Haas committed Jun 19, 2024
1 parent 9474e7f commit 5b50373
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/pull-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ jobs:
with:
path: ~/.local # the path depends on the OS
key: poetry-${{ matrix.poetry-version }}
- name: Install poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: ${{ matrix.poetry-version }}
virtualenvs-create: true
virtualenvs-in-project: true
# ======
# Load cached venv if cache exists
# Install dependencies if cache does not exist
Expand Down

0 comments on commit 5b50373

Please sign in to comment.