File tree Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 20
20
id : full-python-version
21
21
run : echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")
22
22
23
- - name : Bootstrap poetry
24
- run : |
25
- curl -sL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python - -y
26
- echo "$HOME/.local/bin" >> $GITHUB_PATH
23
+ - name : Set up poetry
24
+ uses : Gr1N/setup-poetry@v8
27
25
28
26
- name : Configure poetry
29
27
run : poetry config virtualenvs.in-project true
Original file line number Diff line number Diff line change 20
20
with :
21
21
python-version : ' 3.x'
22
22
23
- - name : Bootstrap poetry
24
- run : |
25
- curl -sL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python - -y
26
- echo "$HOME/.local/bin" >> $GITHUB_PATH
23
+ - name : Set up poetry
24
+ uses : Gr1N/setup-poetry@v8
27
25
28
26
- name : Build
29
27
run : poetry build
Original file line number Diff line number Diff line change 81
81
id : full-python-version
82
82
run : echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")
83
83
84
- - name : Bootstrap poetry
85
- run : |
86
- curl -sL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python - -y
87
- echo "$HOME/.local/bin" >> $GITHUB_PATH
84
+ - name : Set up poetry
85
+ uses : Gr1N/setup-poetry@v8
88
86
89
87
- name : Configure poetry
90
88
run : poetry config virtualenvs.in-project true
You can’t perform that action at this time.
0 commit comments