Skip to content

[pre-commit.ci] pre-commit autoupdate #86

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #86

Workflow file for this run

name: build and publish voltcraft
on: [push]
jobs:
build:
name: build and publish voltcraft
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install build
run: python -m pip install build
- name: Build a binary wheel and a source tarball
run: python -m build --sdist --wheel .
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}