You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dr-doc-search/.github/actions/python-poetry-env/action.yml

22 lines
506 B
YAML

name: 'Setup Python + Poetry environment'
description: 'Setup Python + Poetry environment'
inputs:
python-version:
required: false
description: 'Python version'
default: '3.8'
outputs: {}
runs:
using: 'composite'
steps:
- uses: actions/setup-python@v2
with:
python-version: ${{inputs.python-version}}
- name: Install poetry
run: python -m pip install poetry
shell: bash
- name: Create virtual environment
run: poetry install
shell: bash