Skip to content

bump v1.1.0 (#14)

bump v1.1.0 (#14) #7

Workflow file for this run

name: Publish Release
on:
push:
tags:
- 'release/v*'
jobs:
release:
runs-on: ubuntu-latest
environment: release
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Install Poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Build the package
run: poetry build
- name: Publish to PyPI
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
run: poetry publish
- name: Create GitHub Release
uses: ncipollo/release-action@v1
with:
artifacts: |
dist/*.tar.gz
dist/*.whl
token: ${{ secrets.GITHUB_TOKEN }}