Skip to content

Commit ced9bc8

Browse files
authored
Update publish-pypi-test.yml
1 parent 7b45bc3 commit ced9bc8

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

.github/workflows/publish-pypi-test.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,12 @@ jobs:
1616
uses: actions/setup-python@v2
1717
with:
1818
python-version: '3.x'
19-
20-
# - name: Install and set up Poetry
21-
# run: |
22-
# curl -o get-poetry.py https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py
23-
# python get-poetry.py -y
24-
# source $HOME/.poetry/env
25-
# poetry --version
26-
19+
- name: Set up Poetry
20+
uses: Gr1N/setup-poetry@v2
2721
- name: Build and publish to PyPi
2822
env:
2923
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.TEST_PYPI_API_TOKEN }}
3024
run: |
31-
curl -o get-poetry.py https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py
32-
python get-poetry.py -y
3325
poetry build
3426
poetry config repositories.testpypi https://test.pypi.org/legacy/
3527
poetry publish -r testpypi

0 commit comments

Comments
 (0)