Closed Yasu-umi closed 9 months ago
If you set the POETRY_HOME
environment variable, it should be respected I believe. See https://github.com/snok/install-poetry/issues/127 :+1:
Thanks a lot!
@sondrelg Sorry, I misunderstood answer. I'm looking for a way to change the path where 'poetry install' is executed, not where poetry is installed.
For example, if pyproject.toml & poetry.lock are not in /
but in app/
, how can I run poetry install in app/
?
I was completely mistaken.. snok/install-poetry
does not run poetry install
, so this issue was meaningless.
Just in case this helps or someone else checks this in the future:
- name: poetry install
working-directory: /app
run: poetry install
Is it possible to add a feature to change the directory where
poetry install
is executed with an optional argument like working-directory ?