Skip to content

Commit 6ec7719

Browse files
authored
Update .github/workflows/publish.yml
1 parent 0b25afc commit 6ec7719

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/publish.yml

+11-5
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,14 @@ jobs:
1616
- name: Install Poetry
1717
run: |
1818
curl -sSL https://install.python-poetry.org | python3 -
19-
- name: Build and publish
20-
run: |
21-
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
22-
poetry build
23-
poetry publish
19+
- name: Configure Poetry
20+
run: poetry config pypi-token.pypi ""
21+
22+
- name: Build package
23+
run: poetry build
24+
25+
- name: Publish to PyPI
26+
env:
27+
POETRY_HTTP_BASIC_PYPI_USERNAME: __token__
28+
POETRY_HTTP_BASIC_PYPI_PASSWORD: ""
29+
run: poetry publish

0 commit comments

Comments
 (0)