diff --git a/.github/workflows/python-testing.yml b/.github/workflows/python-testing.yml index 86cd969d..10ff5416 100644 --- a/.github/workflows/python-testing.yml +++ b/.github/workflows/python-testing.yml @@ -43,54 +43,3 @@ jobs: run: | pytest - deploy_testpypi: - if: startsWith(github.ref, 'refs/tags/testv') - runs-on: ubuntu-latest - needs: [ 'test' ] - strategy: - matrix: - python-version: ['3.8'] - steps: - - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel twine - - name: Build and publish - env: - TWINE_USERNAME: '__token__' - TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }} - run: | - python setup.py sdist bdist_wheel - twine upload -r testpypi dist/* - - deploy_pypi: - if: startsWith(github.ref, 'refs/tags/v') - runs-on: ubuntu-latest - needs: [ 'test' ] - strategy: - matrix: - python-version: ['3.8'] - steps: - - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel twine - - name: Build and publish - env: - TWINE_USERNAME: '__token__' - TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} - run: | - python setup.py sdist bdist_wheel - twine upload dist/* - -