File tree Expand file tree Collapse file tree 2 files changed +19
-6
lines changed
Expand file tree Collapse file tree 2 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 2222 python-version : 3.8
2323 - name : Install and set up Poetry
2424 run : |
25- curl -fsS -o get-poetry.py https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py
26- python get-poetry.py --preview -y
25+ curl -fsS -o install-poetry.py https://raw.githubusercontent.com/sdispater/poetry/master/install-poetry.py
26+ python install-poetry.py --preview -y
27+
28+ - name : Update PATH
29+ shell : bash
30+ run : echo "$HOME/.local/bin" >> $GITHUB_PATH
31+
2732 - name : Build distributions
2833 run : |
2934 source $HOME/.poetry/env
Original file line number Diff line number Diff line change @@ -43,10 +43,18 @@ jobs:
4343 - name : Install Poetry
4444 shell : bash
4545 run : |
46- curl -fsS -o get-poetry.py https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py
47- python get-poetry.py --preview -y
48- echo "$HOME/.poetry/bin" >> $GITHUB_PATH
49- echo "%USERPROFILE%/.poetry/bin" >> $GITHUB_PATH
46+ curl -fsS -o install-poetry.py https://raw.githubusercontent.com/sdispater/poetry/master/install-poetry.py
47+ python install-poetry.py --preview -y
48+
49+ - name : Update PATH
50+ if : ${{ matrix.os != 'Windows' }}
51+ shell : bash
52+ run : echo "$HOME/.local/bin" >> $GITHUB_PATH
53+
54+ - name : Update Path for Windows
55+ if : ${{ matrix.os == 'Windows' }}
56+ shell : bash
57+ run : echo "$APPDATA\Python\Scripts" >> $GITHUB_PATH
5058
5159 - name : Setup Poetry
5260 shell : bash
You can’t perform that action at this time.
0 commit comments