Gr1N / setup-poetry

Set up your GitHub Actions workflow with a specific version of Poetry
MIT License
86 stars 14 forks source link

fix: use "--preview" instead of "--preview=true" #4

Closed exKAZUu closed 4 years ago

exKAZUu commented 4 years ago

c.f. https://github.com/python-poetry/poetry#installation

--preview=true yields the following error, so this PR fix the error.


/opt/hostedtoolcache/Python/3.8.5/x64/bin/python /home/runner/work/_temp/56807897-6785-4aaa-9836-d8f6919852fd --yes --preview=true
usage: 56807897-6785-4aaa-9836-d8f6919852fd [-h] [-p] [--version VERSION] [-f]
                                            [--no-modify-path] [-y]
                                            [--uninstall] [--file FILE]
56807897-6785-4aaa-9836-d8f6919852fd: error: argument -p/--preview: ignored explicit argument 'true'
##[error]The process '/opt/hostedtoolcache/Python/3.8.5/x64/bin/python' failed with exit code 2```
exKAZUu commented 4 years ago

CI errors seem not related to this PR (?)

Gr1N commented 4 years ago

Hi, thank you for your contribution. I'm living in Belarus and currently, we have a huge network outages all around the country, I will dive into PR as soon as possible.

exKAZUu commented 4 years ago

Hi, thank you for the explanation. Please let me know if there is anything i can help.

Gr1N commented 4 years ago

Fixed in #5, @exKAZUu thanks for the contribution

Gr1N commented 4 years ago

@exKAZUu enjoy v3 https://github.com/Gr1N/setup-poetry/releases/tag/v3