Skip to content
This repository has been archived by the owner on Dec 22, 2020. It is now read-only.

Commit

Permalink
add tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
naveen521kk authored Nov 6, 2020
1 parent 1699f4a commit 5dbda06
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,20 @@ jobs:
name: wheels-${{ runner.os }}
- name: Publish (Release)
if: ${{ github.event_name== 'release' && runner.os == 'Linux' }}
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pip install twine
python setup.py sdist
twine upload dist/*
- name: Publish (Release)
if: github.event_name == 'release'
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pip install twine
twine upload dist/*.whl
twine upload dist/*.whl
twine upload dist/*.whl
Expand Down

0 comments on commit 5dbda06

Please sign in to comment.