Skip to content

Merge pull request #195 from PermutaTriangle/develop #5

Merge pull request #195 from PermutaTriangle/develop

Merge pull request #195 from PermutaTriangle/develop #5

name: build-and-deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: build
run: python setup.py sdist
- name: deploy
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: twine upload dist/*