antarcticrainforest is uploading the code to pypi #6
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: Create Pip package | |
run-name: ${{ github.actor }} is uploading the code to pypi | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
pipy: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
- | |
name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.x" | |
- | |
name: Install pypa/build | |
run: python -m pip install build | |
- | |
name: Build a binary wheel and a source tarball | |
run: python -m build --sdist --outdir dist/ | |
- | |
name: ublish distribution 📦 to PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
password: ${{ secrets.PYPI_API_TOKEN }} |