v1.14.0 #32
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload to PyPi | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
upload: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Install Dependencies | |
run: | | |
export LC_ALL=C.UTF-8 | |
export LANG=C.UTF-8 | |
pip3 install pipenv twine | |
pipenv install --dev | |
- name: Upload Wheel | |
run: | | |
pipenv run python setup.py bdist_wheel sdist | |
twine upload \ | |
--repository ${{ secrets.TWINE_REPOSITORY }} \ | |
--non-interactive \ | |
--skip-existing \ | |
--verbose \ | |
dist/* | |
env: | |
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} | |
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} | |
TWINE_REPOSITORY: ${{ secrets.TWINE_REPOSITORY }} |