Skip to content

0.5.7

0.5.7 #27

Workflow file for this run

name: Upload Python Package
on:
release:
types: [created]
jobs:
deploy-sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: install-deps
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: build
run: |
python setup.py sdist
- name: upload
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
twine upload dist/*
deploy-bdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: install-deps
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: build
run: |
python setup.py bdist_wheel
- name: upload
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
twine upload dist/*