Skip to content

chore: refactor release draft #18

chore: refactor release draft

chore: refactor release draft #18

name: Upload python package
on:
push:
branches:
- main
tags:
- v*
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install poetry
- name: Config poetry
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
- name: Build and publish
run: |
poetry publish --build