Skip to content

v0.7.2

v0.7.2 #3

Workflow file for this run

name: "Release"
on:
release:
types:
- "published"
permissions: {}
jobs:
release:
name: "Release"
runs-on: "ubuntu-latest"
environment: release
permissions:
contents: write
id-token: write
steps:
- name: "Checkout the repository"
uses: "actions/[email protected]"
- name: Install poetry
run: pipx install poetry
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
cache: "poetry"
- name: Install dependencies
run: poetry install --no-dev
- name: Build package
run: poetry build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
- name: "Upload the files to the release"
uses: softprops/[email protected]
with:
files: ${{ github.workspace }}/dist/*