Skip to content

Workflow file for this run

name: Deploy PyPi Python Package on GitHub Releases
on:
release:
branches:
- master
jobs:
deploy:
name: Deploy Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install setuptools build twine
- name: Build
run: make build python=python
- name: Publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
make upload python=python