File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 88jobs :
99 pypi_release :
1010 runs-on : ubuntu-latest
11+ env :
12+ POETRY_VERSION : 1.2.0
1113 if : github.event_name == 'push' && contains(github.ref, 'refs/tags')
1214 steps :
1315 # ----------------------------------------------
@@ -20,15 +22,16 @@ jobs:
2022 uses : actions/setup-python@v2
2123 with :
2224 python-version : ${{ matrix.python-version }}
23-
25+
2426 # ----------------------------------------------
25- # install & configure poetry
27+ # install & configure poetry
2628 # ----------------------------------------------
2729 - name : Install Poetry
28- 29- with :
30- virtualenvs-create : true
31- virtualenvs-in-project : true
30+ run : |
31+ curl -sSL https://install.python-poetry.org \
32+ | python3 - --version ${{ env.POETRY_VERSION }};
33+ poetry config virtualenvs.create true;
34+ poetry config virtualenvs.in-project true;
3235
3336 # ----------------------------------------------
3437 # load cached venv if cache exists
You can’t perform that action at this time.
0 commit comments