Skip to content

Commit

Permalink
fix upload to test-pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Sep 29, 2023
1 parent 6b222cc commit dc59a8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,19 @@ jobs:
- name: twine Check
run: twine check dist/*

- name: twine Upload (pipy)
- name: twine Upload (pypi)
if: github.event_name == 'release'
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.pypi_token }}
run: twine upload dist/*

- name: twine Upload (test-pipy)
- name: twine Upload (test-pypi)
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
run: twine upload dist/*
run: twine upload --repository testpypi dist/*


Build:
Expand Down

0 comments on commit dc59a8d

Please sign in to comment.