miniupnp/.github/actions/activate-venv/readme.md

17 lines
501 B
Markdown
Raw Normal View History

# Activate virtual environment
Provides cross-platform activation of a Python virtual environment.
By default it searches in `venv/` then `.venv/`.
This is configurable via a JSON list passed to the `directories` parameter.
```yaml
- uses: Chia-Network/actions/activate-venv@main
```
```yaml
- uses: Chia-Network/actions/activate-venv@main
directories: '["another_virtualenv/"]'
```
copied from https://github.com/Chia-Network/actions/tree/5851777428fb98585ae9628b7dc49ed9f6487fde/activate-venv