diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 7d46b8e13..000000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Upload Python package - -on: - release: - types: [created] - -# Required shell entrypoint to have properly activated conda environments -defaults: - run: - shell: bash -l {0} - -jobs: - deploy: - name: Build and upload Python package - runs-on: ubuntu-latest - if: github.repository == 'dask-contrib/dask-sql' - steps: - - uses: actions/checkout@v2 - - name: Set up Python - uses: conda-incubator/setup-miniconda@v2 - with: - miniforge-variant: Mambaforge - use-mamba: true - python-version: "3.8" - channel-priority: strict - activate-environment: dask-sql - environment-file: continuous_integration/environment-3.8-dev.yaml - - name: Install dependencies - run: | - pip install setuptools wheel twine - which python - pip list - conda list - - name: Build package - run: python setup.py sdist bdist_wheel - - name: Publish package - env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - run: twine upload dist/*