Skip to content

πŸš€ Version 2.2.0 #7

πŸš€ Version 2.2.0

πŸš€ Version 2.2.0 #7

Workflow file for this run

name: pypi-release
on:
workflow_dispatch:
push:
tags:
- "v[0-9].[0-9]+.[0-9]+*"
concurrency:
group: pypi-release-${{ github.head_ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install dependencies
run: |
pip install --upgrade pip
pip install hatch
- name: Build package
run: hatch build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1