diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index f0ea56d5e8..0000000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Publish -on: - release: - types: [published] -jobs: - test: - uses: './.github/workflows/test.yml' - deploy: - needs: test - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.x - uses: actions/setup-python@v1 - with: - python-version: '3.x' - - name: Install Python 3.x dependencies - run: | - python3 -m pip install --upgrade pip - pip3 install setuptools wheel twine - - name: Build package - run: | - python3 setup.py sdist bdist_wheel --universal - - name: Publish package - uses: pypa/gh-action-pypi-publish@master - with: - user: __token__ - password: ${{ secrets.pypi_password }} -