Skip to content

fix: fixed pre-commit hooks #27

fix: fixed pre-commit hooks

fix: fixed pre-commit hooks #27

Workflow file for this run

name: Upload Package to Pypi
on: [push, pull_request]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
- uses: actions/checkout@v2
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
- uses: fkirc/skip-duplicate-actions@master
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
skip_existing: 'true'
password: ${{ secrets.PYPI_API_TOKEN }}