sleap-roots v0.0.5 #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
# Package builds | |
name: Build | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
pypi: | |
name: PyPI Wheel | |
runs-on: "ubuntu-22.04" | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
pip install --editable .[dev] | |
- name: Build wheel | |
run: | | |
python -m build --wheel | |
twine check dist/* | |
- name: Upload | |
env: | |
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | |
run: | | |
twine upload -u __token__ -p "$PYPI_TOKEN" dist/* --non-interactive --skip-existing --disable-progress-bar |