Skip to content

Commit e09d4ea

Browse files
author
matmoncon
committed
ci: Update release workflow
1 parent 410bce9 commit e09d4ea

File tree

3 files changed

+11
-800
lines changed

3 files changed

+11
-800
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,13 @@ jobs:
135135
uses: python-semantic-release/python-semantic-release@master
136136
with:
137137
github_token: ${{ secrets.GITHUB_TOKEN }}
138+
139+
- name: Publish package distributions to PyPI
140+
id: pypi-publish
141+
142+
if: steps.release.outputs.released == 'true'
143+
uses: pypa/gh-action-pypi-publish@release/v1
144+
with:
145+
verbose: true
146+
user: ${{ secrets.PYPI_USERNAME }}
147+
password: ${{ secrets.PYPI_PASSWORD }}

0 commit comments

Comments
 (0)