diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml deleted file mode 100644 index bb20227..0000000 --- a/.github/workflows/publish-pypi.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Publish to PyPI -on: - release: - types: [published] -jobs: - build-and-publish: - name: Build and publish - runs-on: ubuntu-18.04 - steps: - - uses: actions/checkout@master - - name: Set up python 3.9 - uses: actions/setup-python@v1 - with: - python-version: 3.9 - - 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/ - . - - name: Publish distribution - uses: pypa/gh-action-pypi-publish@master - with: - password: ${{ secrets.PYPI_API_TOKEN }}