Closed mahmoudhossam closed 1 year ago
Yeah we hardcoded the path to get around an issue where installation paths would be non-deterministic on certain runners IIRC - it would flip flop between macos and linux on ubuntu-latest locations, or something weird like that.
Perhaps we could honour the POETRY_HOME
env var if set. Would you be interested in creating a PR? All relevant code is in the main.sh script.
@sondrelg Done.
I'm trying to install poetry in an alternative location as per the documentation
The problem with this action is that even when
POETRY_HOME
is set, it still installs to the default location.Example minimal workflow:
Example run: https://github.com/mahmoudhossam/test-poetry/actions/runs/5552599337/jobs/10140141699