Skip to content

update publish workflow (#15) #2

update publish workflow (#15)

update publish workflow (#15) #2

name: Build and publish python package
on:
push:
tags:
- "v*"
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Build wheel
run: pip install build && python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1