We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1ca2b2 commit 8124d25Copy full SHA for 8124d25
action.yml
@@ -2,6 +2,10 @@
2
name: "Setup the environment"
3
description: "This action creates the Poetry environment and load virtual environment from cache if cache exists."
4
inputs:
5
+ poetry-install-options:
6
+ description: "Options pass to the poetry install command"
7
+ required: false
8
+ default: "--only dev"
9
python-version:
10
description: "Python version that will be deployed"
11
required: false
@@ -41,5 +45,5 @@ runs:
41
45
path: "~/.cache/pypoetry/virtualenvs/"
42
46
key: "${{ runner.os }}-poetry-${{ steps.python-setup.outputs.python-version }}-${{ hashFiles('./poetry.lock') }}${{ inputs.cache-version }}"
43
47
- name: "Install environment"
44
- run: "poetry install"
48
+ run: "poetry install ${{ inputs.poetry-install-options }}"
49
shell: "bash"
0 commit comments