@@ -106,11 +106,9 @@ jobs:
106106 retention-days : 60
107107 if-no-files-found : error
108108
109- # TO BE ACTIVATED ONCE PROJECT GOES PUBLIC
110- #
111- # - name: Upload coverage to Codecov
112- # if: env.MAIN_PYTHON_VERSION == matrix.python-version
113- # uses: codecov/codecov-action@v3
109+ - name : Upload coverage to Codecov
110+ if : env.MAIN_PYTHON_VERSION == matrix.python-version
111+ uses : codecov/codecov-action@v3
114112
115113 docs :
116114 name : Build docs
@@ -139,24 +137,12 @@ jobs:
139137 needs : [package]
140138 runs-on : ubuntu-latest
141139 steps :
142- # TO BE DELETED ONCE PROJECT GOES PUBLIC
143- #
144- - name : Release to the private PyPI repository
145- uses : ansys/actions/release-pypi-private@v4
146- if : ${{ !env.ACT }}
140+ - name : Release to the public PyPI repository
141+ uses : ansys/actions/release-pypi-public@v4
147142 with :
148143 library-name : ${{ env.PACKAGE_NAME }}
149144 twine-username : " __token__"
150- twine-token : ${{ secrets.PYANSYS_PYPI_PRIVATE_PAT }}
151-
152- # TO BE ACTIVATED ONCE PROJECT GOES PUBLIC
153- #
154- # - name: Release to the public PyPI repository
155- # uses: ansys/actions/release-pypi-public@v4
156- # with:
157- # library-name: ${{ env.PACKAGE_NAME }}
158- # twine-username: "__token__"
159- # twine-token: ${{ secrets.PYPI_TOKEN }}
145+ twine-token : ${{ secrets.PYPI_TOKEN }}
160146
161147 - name : Release to GitHub
162148 uses : ansys/actions/release-github@v4
0 commit comments