Skip to content

Commit 9939ce3

Browse files
committed
Split build and publish into separate steps
1 parent e6b9d58 commit 9939ce3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/python-publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ jobs:
2525
curl -sL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python - -y
2626
echo "$HOME/.local/bin" >> $GITHUB_PATH
2727
28-
- name: Build and publish
28+
- name: Build
29+
run: poetry build
30+
31+
- name: Publish
2932
env:
3033
POETRY_HTTP_BASIC_PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
3134
POETRY_HTTP_BASIC_PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
32-
run: |
33-
poetry build
34-
poetry publish
35+
run: poetry publish

0 commit comments

Comments
 (0)