Skip to content

v2.2.0

v2.2.0 #24

Workflow file for this run

name: PyPI
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Remove existing packages
run: rm -rf ./dist/ ./emeis.egg-info/ ./build/
- name: Run twine
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
TWINE_NON_INTERACTIVE: true
run: |
python setup.py sdist bdist_wheel
twine upload dist/*