File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ jobs:
1212 uses : actions/setup-python@v4
1313 with :
1414 python-version : 3.11
15- - name : Install Poetry and add to path
15+ - name : Install Poetry
1616 run : |
17- curl -sSL https:// install.python-poetry.org/install-poetry.py | python -
18- echo "${HOME}/.local/bin" >> $GITHUB_PATH
17+ pip install pipx
18+ pipx install poetry
1919 - name : Install Dependencies
2020 run : |
2121 poetry install
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ jobs:
1919 - name : Get full Python version
2020 id : full-python-version
2121 run : echo version=$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))") >> $GITHUB_OUTPUT
22- - name : Install Poetry and add to path
22+ - name : Install Poetry
2323 run : |
24- curl -sSL https:// install.python-poetry.org/install-poetry.py | python -
25- echo "${HOME}/.local/bin" >> $GITHUB_PATH
24+ pip install pipx
25+ pipx install poetry
2626 - name : Configure poetry
2727 run : |
2828 poetry config virtualenvs.create true
@@ -59,10 +59,10 @@ jobs:
5959 - name : Get full Python version
6060 id : full-python-version
6161 run : echo version=$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))") >> $GITHUB_OUTPUT
62- - name : Install Poetry and add to path
62+ - name : Install Poetry
6363 run : |
64- curl -sSL https:// install.python-poetry.org/install-poetry.py | python -
65- echo "${HOME}/.local/bin" >> $GITHUB_PATH
64+ pip install pipx
65+ pipx install poetry
6666 - name : Configure poetry
6767 run : |
6868 poetry config virtualenvs.create true
@@ -100,10 +100,10 @@ jobs:
100100 - name : Get full Python version
101101 id : full-python-version
102102 run : echo version=$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))") >> $GITHUB_OUTPUT
103- - name : Install Poetry and add to path
103+ - name : Install Poetry
104104 run : |
105- curl -sSL https:// install.python-poetry.org/install-poetry.py | python -
106- echo "${HOME}/.local/bin" >> $GITHUB_PATH
105+ pip install pipx
106+ pipx install poetry
107107 - name : Configure poetry
108108 run : |
109109 poetry config virtualenvs.create true
You can’t perform that action at this time.
0 commit comments