From 4f361179826740a804118c29f347e2bddb36b2b1 Mon Sep 17 00:00:00 2001 From: Gabriel Fioravante Date: Sun, 26 Jun 2022 18:02:54 -0300 Subject: [PATCH] remove release workflow (#373) --- .github/workflows/publish_to_pypi.yml | 39 --------------------------- 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/publish_to_pypi.yml diff --git a/.github/workflows/publish_to_pypi.yml b/.github/workflows/publish_to_pypi.yml deleted file mode 100644 index 2f65f654..00000000 --- a/.github/workflows/publish_to_pypi.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: release - -on: - # Triggers the workflow when a release is created - release: - types: [published] - # Allows you to run this workflow manually from the Actions tab - #workflow_dispatch: - -jobs: - build-n-publish: - name: Build and publish Python packages to PyPI and TestPyPI - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: Set up Python 3.9 - uses: actions/setup-python@v2 - 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 package to Test PyPI - uses: pypa/gh-action-pypi-publish@master - with: - password: ${{ secrets.TEST_PYPI_API_TOKEN }} - repository_url: https://test.pypi.org/legacy/ - - - name: Publish package to PyPI - if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master - with: - password: ${{ secrets.PYPI_API_TOKEN }}