Skip to content

Commit

Permalink
Caching projects that use setup.py (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Nov 29, 2022
1 parent b80efd6 commit 1aafadc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/advanced-usage.md
Expand Up @@ -281,6 +281,20 @@ steps:
- run: pip install -e . -r subdirectory/requirements-dev.txt
```

**Caching projects that use setup.py:**

```yaml
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: setup.py
- run: pip install -e .
# Or pip install -e '.[test]' to install test dependencies
```

# Outputs and environment variables

## Outputs
Expand Down

0 comments on commit 1aafadc

Please sign in to comment.