Skip to content

Pypi Package

Pypi Package #168

Workflow file for this run

name: Pypi Package
on:
workflow_dispatch:
permissions:
contents: write
discussions: write
jobs:
release-publish:
uses: ./.github/workflows/release-binaries-on-ec2-all.yaml
secrets: inherit
python-publish:
needs: [release-publish]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Build Python Package
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade build setuptools wheel setuptools-scm
python -m build --wheel
- name: Publish Python Package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}