Skip to content

Workflow file for this run

---
name: Publish library to pypi
on:
workflow_dispatch:
release:
types:
- published
jobs:
deploy:
runs-on: ubuntu-latest
# Specifying a GitHub environment is optional, but strongly encouraged
environment:
name: pypi
url: https://pypi.org/p/aar-doc
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Install poetry
run: pip install poetry
- name: Build dist
run: poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1