Skip to content

Commit 34b27e5

Browse files
authored
Use latest version of poetry by default
1 parent 9009a9c commit 34b27e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

action.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ inputs:
2626
POETRY_VERSION:
2727
description: 'The version of Poetry to use'
2828
required: false
29-
default: '1.1.8'
29+
default: ''
3030
POETRY_CORE_VERSION:
3131
description: 'The version of Poetry Core to use'
3232
required: false
33-
default: '1.0.4'
33+
default: ''
3434
BRANCH:
3535
description: 'Branch to publish from'
3636
required: false
@@ -66,7 +66,7 @@ runs:
6666
token: ${{ inputs.ACCESS_TOKEN }}
6767

6868
- name: Install poetry
69-
run: pip install poetry==${{ inputs.POETRY_VERSION }} poetry-core==${{ inputs.POETRY_CORE_VERSION }}
69+
run: pip install poetry${{ inputs.POETRY_VERSION != '' && format('=={0}', inputs.POETRY_VERSION) || '' }} poetry-core${{ inputs.POETRY_CORE_VERSION != '' && format('=={0}', inputs.POETRY_CORE_VERSION) || '' }}
7070
shell: bash
7171

7272
- name: Set up Python ${{ inputs.PYTHON_VERSION }}

0 commit comments

Comments
 (0)