Skip to content

Commit ed2f96a

Browse files
Do not publish on TestPyPI
1 parent 43a8720 commit ed2f96a

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/python-wheels.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -122,18 +122,11 @@ jobs:
122122
pattern: python-wheels-*
123123
merge-multiple: true
124124

125-
- name: Publish package to TestPyPI
126-
uses: pypa/gh-action-pypi-publish@release/v1
127-
with:
128-
password: ${{ secrets.MOORDYN_TESTPYPI_API }}
129-
repository-url: https://test.pypi.org/legacy/
130-
skip-existing: true
131-
if: github.event_name == 'push' && github.ref != 'refs/heads/main'
132-
133-
- name: Publish package to TestPyPI
125+
- name: Publish package to PyPI
134126
uses: pypa/gh-action-pypi-publish@release/v1
135127
with:
128+
# password: ${{ secrets.MOORDYN_TESTPYPI_API }}
129+
# repository-url: https://test.pypi.org/legacy/
136130
password: ${{ secrets.MOORDYN_PYPI_API }}
137131
repository-url: https://upload.pypi.org/legacy/
138132
skip-existing: true
139-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)