Skip to content

Commit 8124d25

Browse files
authored
Nniehoff/patch 1 (#2)
1 parent a1ca2b2 commit 8124d25

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
name: "Setup the environment"
33
description: "This action creates the Poetry environment and load virtual environment from cache if cache exists."
44
inputs:
5+
poetry-install-options:
6+
description: "Options pass to the poetry install command"
7+
required: false
8+
default: "--only dev"
59
python-version:
610
description: "Python version that will be deployed"
711
required: false
@@ -41,5 +45,5 @@ runs:
4145
path: "~/.cache/pypoetry/virtualenvs/"
4246
key: "${{ runner.os }}-poetry-${{ steps.python-setup.outputs.python-version }}-${{ hashFiles('./poetry.lock') }}${{ inputs.cache-version }}"
4347
- name: "Install environment"
44-
run: "poetry install"
48+
run: "poetry install ${{ inputs.poetry-install-options }}"
4549
shell: "bash"

0 commit comments

Comments
 (0)