Skip to content

FEAT-#7265: Automatic publication of Modin wheel to PyPI #5

FEAT-#7265: Automatic publication of Modin wheel to PyPI

FEAT-#7265: Automatic publication of Modin wheel to PyPI #5

Workflow file for this run

name: Publish Modin wheel to PyPI
on: pull_request
jobs:
build-n-publish:
name: Build and publish Modin wheel to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9.x"
- name: Install/update tools
run: python3 -m pip install --upgrade build wheel
- name: Build a pure Python wheel
run: python3 setup.py sdist bdist_wheel
- uses: actions/upload-artifact@v4
with:
name: modin-wheel-and-source-tarball
path: ./dist/
- name: Publish Modin wheel to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.NON_EXISTENT_TOKEN }}