Skip to content

Commit

Permalink
Merge pull request #39 from mobiusml/gh_action
Browse files Browse the repository at this point in the history
fix pypi test
  • Loading branch information
HRashidi authored Oct 14, 2024
2 parents 1421a31 + cfaef76 commit ac994c2
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 ac994c2

Please sign in to comment.