Skip to content

Merge pull request #435 from jd/fix-black #30

Merge pull request #435 from jd/fix-black

Merge pull request #435 from jd/fix-black #30

Workflow file for this run

name: Release deploy
on:
push:
tags:
jobs:
test:
if: github.repository_owner == 'jd'
timeout-minutes: 20
runs-on: ubuntu-20.04
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Python 🔧
uses: actions/[email protected]
with:
python-version: 3.11
- name: Build 🔧 & Deploy 🚀
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
pip install tox twine wheel
echo -e "[pypi]" >> ~/.pypirc
echo -e "username = __token__" >> ~/.pypirc
echo -e "password = $PYPI_TOKEN" >> ~/.pypirc
python setup.py sdist bdist_wheel
twine upload dist/*