Skip to content

Package

Package #3

Workflow file for this run

name: Package
on:
workflow_dispatch:
jobs:
package:
name: Package and Deploy
runs-on: ubuntu-latest
steps:
- name: 🛒 Checkout
uses: actions/checkout@v3
- name: 🐍 Get Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: 🛠️ Setup Build
run: python -m pip install build --user
- name: 🛠️ Build Package
run: python -m build --sdist --wheel --outdir dist/ src/
- name: 📦 Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}