Skip to content

0.3.1

0.3.1 #8

Workflow file for this run

name: publish to pypi
on:
release:
types: [ published ]
jobs:
publish:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ "3.13.0" ]
permissions:
id-token: write # OIDC publishing https://docs.pypi.org/trusted-publishers/adding-a-publisher/
steps:
- uses: actions/checkout@v3
- name: set up python ${{ matrix.python-version }}
uses: dpdani/setup-python@nogil
with:
python-version: ${{ matrix.python-version }}
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: build package
run: python -m build
- name: remove wheels # TODO
run: rm dist/*.whl
- name: publish package
uses: pypa/gh-action-pypi-publish@release/v1