Skip to content

update ci

update ci #3

Workflow file for this run

name: PyPi Release
on:
workflow_dispatch:
push:
branches:
- "main"
jobs:
check-and-build-package:
name: Build & inspect our package.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hynek/build-and-inspect-python-package@v2
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/pywiegandpi
needs: check-and-build-package
permissions:
id-token: write
steps:
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1