Skip to content

Commit

Permalink
Merge pull request #456 from akx/patch-1
Browse files Browse the repository at this point in the history
doc: Add multiple wildcards example to readme
  • Loading branch information
marko-zivic-93 committed Jul 5, 2022
2 parents 364e819 + af97157 commit f0bcf8b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Expand Up @@ -320,6 +320,21 @@ steps:
- run: pipenv install
```

**Using a list of wildcard patterns to cache dependencies**
```yaml
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: |
**/setup.cfg
**/requirements*.txt
- run: pip install -e . -r subdirectory/requirements-dev.txt
```


# Environment variables

The `update-environment` flag defaults to `true`.
Expand Down

0 comments on commit f0bcf8b

Please sign in to comment.