Skip to content

chore: update black to latest version #28

chore: update black to latest version

chore: update black to latest version #28

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/*