Skip to content

Commit

Permalink
fix pypi test
Browse files Browse the repository at this point in the history
  • Loading branch information
HRashidi committed Oct 14, 2024
1 parent 4faf6eb commit cfaef76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ jobs:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
twine upload -r testpypi dist/*
twine upload dist/*
- name: Publish to Test PyPI
if: github.event_name == 'workflow_dispatch' && github.event.inputs.publish_target == 'testpypi'
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
run: |
twine upload dist/*
twine upload -r testpypi dist/*

0 comments on commit cfaef76

Please sign in to comment.