Skip to content

Commit

Permalink
Change the twine upload command
Browse files Browse the repository at this point in the history
  • Loading branch information
vhaasteren committed Nov 8, 2023
1 parent b8064fa commit e8f4db7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,20 @@ jobs:
uses: actions/download-artifact@v3
with:
name: dist
path: dist/
path: ./dist/
- name: Publish to PyPI
run: |
python -m pip install --upgrade twine
#twine upload dist/*
twine upload --repository-url https://test.pypi.org/legacy dist/*
#twine upload --repository-url https://test.pypi.org/legacy dist/*
python -m twine upload dist/*
env:
#TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
#TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
TWINE_REPOSITORY: testpypi


# conda-package:
# runs-on: ubuntu-latest
Expand Down

0 comments on commit e8f4db7

Please sign in to comment.