Skip to content

chore(release): release 1.1.0 — in the future, GUI versions are pinned! #5

chore(release): release 1.1.0 — in the future, GUI versions are pinned!

chore(release): release 1.1.0 — in the future, GUI versions are pinned! #5

Workflow file for this run

name: Publish package to PyPi
on:
push:
tags:
- v*
workflow_dispatch:
jobs:
build-release:
runs-on: ubuntu-latest
name: Publish package to PyPi
defaults:
run:
working-directory: ./lib
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4.3.0
with:
python-version: 3.9
- name: Installing the package
run: |
pip3 install .
pip3 install .[pypi]
- name: Build package
run: |
pip3 install --upgrade setuptools
export DEB_PYTHON_INSTALL_LAYOUT=deb_system
python -m build --no-isolation
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: lib/dist/
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}