Skip to content

Commit e89edd2

Browse files
committed
CI: release to public PyPI
1 parent 3e9c99b commit e89edd2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci_cd.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,17 @@ jobs:
152152
needs: [build-library]
153153
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
154154
steps:
155+
155156
- name: "Release to the private PyPI repository"
156157
uses: pyansys/actions/release-pypi-private@v2
157158
with:
158159
library-name: ${{ env.LIBRARY_NAME }}
159160
twine-username: "__token__"
160161
twine-token: ${{ secrets.PYANSYS_PYPI_PRIVATE_PAT }}
161162

163+
- name: "Release to the public PyPI repository"
164+
uses: pyansys/actions/release-pypi-public@v2
165+
with:
166+
library-name: ${{ env.LIBRARY_NAME }}
167+
twine-username: "__token__"
168+
twine-token: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)