Merge pull request #9 from prio-data/numpy_cython_nonsense #26
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: ci | |
on: | |
push: | |
branches: master | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
name: "Build and deploy to pypi" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.8" | |
architecture: "x64" | |
- name: "Dependencies" | |
run: | | |
pip install cython==3.0.0a9 numpy==1.21.2 setuptools wheel twine | |
- name: "Build" | |
run: python setup.py sdist | |
- name: "Publish" | |
run: | | |
twine upload dist/* --username __token__ --skip-existing --password ${{ secrets.PYPI_API_TOKEN }} | |