Skip to content

🚀 cmweather v0.3.2 🚀 #9

🚀 cmweather v0.3.2 🚀

🚀 cmweather v0.3.2 🚀 #9

Workflow file for this run

name: Upload Package to PyPI
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools setuptools-scm wheel twine
- name: Build and test distribution
run: |
python setup.py sdist bdist_wheel
python -m twine check dist/*
- name: Publish to PyPI
uses: pypa/[email protected]
env:
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_PASSWORD }}
verbose: true