Skip to content

0.3.2

0.3.2 #4

Workflow file for this run

on:
release:
types:
- published
name: release
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install pypa-build
run: python -m pip install build
- name: Build
run: python -m build -w -s . --outdir dist
- uses: actions/upload-artifact@v3
with:
name: artifacts
path: ./dist
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
needs: [build]
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/download-artifact@v3
with:
name: artifacts
path: dist
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist