Skip to content

Merge pull request #41 from digitronik/readme #15

Merge pull request #41 from digitronik/readme

Merge pull request #41 from digitronik/readme #15

Workflow file for this run

name: Publish miqsel to PyPI
on:
push:
branches:
- master
tags:
- '*'
jobs:
build-and-publish:
name: Build and publish miqsel distributions to PyPI
if: startsWith(github.event.ref, 'refs/tags')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v4
- name: Build package and check
run: |
python -m pip install --upgrade pip twine
python -m build
twine check dist/*
- name: Deploy to PyPi
if: startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_miqsel }}