actions-marketplace-validations/restore or create a python virtualenv
1-liner to restore and activate a cached virtualenv, or create a new one.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| custom_cache_key_element | custom element that will be used when constructing the cache key | no | v1 |
| requirement_files | requirements-files to use for building the cache key | no | **/requirements*.txt **/requirements/*.txt **/Pipfile.lock **/poetry.lock |
| custom_virtualenv_dir | custom directory for the virtual environment | no | .venv |
Outputs
| name | description |
|---|---|
| cache-hit | A boolean value to indicate if a cache was restored |
| virtualenv-directory | the path to the restored or created virtualenv |