Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Modin wheel to PyPI | |
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 pypa/build | |
run: python3 -m pip install --upgrade build | |
- name: Build a binary wheel and a source tarball | |
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 }} |