Skip to content

Commit f272939

Browse files
authored
Update build_test_and_push.yml
1 parent eeffea1 commit f272939

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/build_test_and_push.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,8 @@ jobs:
4444
with:
4545
run: coverage run -m unittest discover -s test -p "Test*.py"
4646
working-directory: ./ #optional
47-
- name: Publish evcouplings to test PyPI
48-
if: startsWith(github.ref, 'refs/tags')
49-
uses: pypa/gh-action-pypi-publish@master
50-
with:
51-
password: ${{ secrets.PYPI_ACCESS_TOKEN_TEST }}
52-
repository_url: https://test.pypi.org/legacy/
5347
- name: Publish evcouplings to PyPI
54-
if: startsWith(github.ref, 'refs/tags')
55-
uses: pypa/gh-action-pypi-publish@master
48+
uses: pypa/gh-action-pypi-publish@v1.9.0
5649
with:
50+
user: __token__
5751
password: ${{ secrets.PYPI_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)