Skip to content

Commit 0197aef

Browse files
authored
Fix bug in poetry action (#18)
1 parent 94b3f4d commit 0197aef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

install_poetry/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ inputs:
3737
required: false
3838
default: ".container/requirements.txt"
3939

40-
install_preivew:
40+
install_preview:
4141
description: Install preview version of Poetry. Optional. Default value is 'true'
4242
required: false
4343
default: "false"
@@ -75,7 +75,7 @@ runs:
7575
REQUIREMENTS_PATH: ${{ inputs.requirements_path }}
7676
REPO_URL: ${{ inputs.pypi_repo_url }}
7777
INSTALL_PREVIEW: ${{ inputs.install_preview }}
78-
VERSION: ${{ inputs.install_preview }}
78+
VERSION: ${{ inputs.version }}
7979
EXPORT_CREDENTIALS: ${{ inputs.export_credentials }}
8080
EXTRAS: ${{ inputs.install_extras }}
8181
INSTALL_NO_ROOT: ${{ inputs.install_only_dependencies }}

install_poetry/install_poetry.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if [[ $INSTALL_PREVIEW == "true" ]]; then
2424
export POETRY_PREVIEW=1
2525
fi
2626

27-
curl -sSL https://install.python-poetry.org | python3 - --preview
27+
curl -sSL https://install.python-poetry.org | python3 -
2828
export PATH=/github/home/.local/bin:$PATH
2929
poetry config repositories.custom_repo "$REPO_URL"
3030

0 commit comments

Comments
 (0)