Skip to content

v2.1.4

v2.1.4 #45

Workflow file for this run

name: Publish
on:
push:
tags:
- "v*"
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
- name: Build
run: poetry build
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: "dist/*"
token: ${{ secrets.GITHUB_TOKEN }}
draft: false
- name: Publish
run: poetry publish