1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-11-22 14:48:36 +00:00

Merge pull request #456 from akx/patch-1

doc: Add multiple wildcards example to readme
This commit is contained in:
Marko Zivic 2022-07-05 08:23:25 +02:00 committed by GitHub
commit f0bcf8be03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -320,6 +320,21 @@ steps:
- run: pipenv install - 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 # Environment variables
The `update-environment` flag defaults to `true`. The `update-environment` flag defaults to `true`.