Skip to content

Commit

Permalink
Update testpypi.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
IvoVellekoop authored Oct 4, 2024
1 parent e8aded7 commit 542e407
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/testpypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
environment:
name: testpypi
url: https://pypi.org/p/openwfs
url: https://test.pypi.org/p/openwfs

# enable openid authentication for PyPi
permissions:
Expand Down Expand Up @@ -41,7 +41,13 @@ jobs:
poetry build
# Publish to TestPyPI
- name: Publish to TestPyPI
run: |
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry publish --repository testpypi
#- name: Publish to TestPyPI
# run: |
# poetry config repositories.testpypi https://test.pypi.org/legacy/
# poetry publish --repository testpypi

- name: Publish package distributions to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/

0 comments on commit 542e407

Please sign in to comment.