Skip to content

insolver 0.4.28

insolver 0.4.28 #14

name: Publish insolver release to PyPI
on:
release:
types: [published]
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/insolver/
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install dependencies
shell: bash
run: |
python -m pip install --upgrade pip setuptools wheel
poetry self add poetry-version-plugin
- name: Build a binary wheel and a source tarball
run: poetry build
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1