Skip to content

v0.11.0-dev1

v0.11.0-dev1 #12

Workflow file for this run

name: Release to pypi.org
on:
release:
types: [published]
tags-ignore:
- "**dev**"
- "**rc**"
workflow_dispatch:
inputs:
logLevel:
description: "Log level"
required: true
default: "warning"
tags:
description: "run publishing workflow"
jobs:
build:
name: Publish to production
runs-on: ubuntu-latest
steps:
- name: Checkout the repo and the submodules.
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install build dependencies & build
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
python setup.py sdist bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.3.1
with:
user: __token__
password: ${{ secrets.PYPI }}