Skip to content

Merge pull request #6 from Kranium2002/add_improved_context #8

Merge pull request #6 from Kranium2002/add_improved_context

Merge pull request #6 from Kranium2002/add_improved_context #8

name: Upload Python Package
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Configure Poetry
run: poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
- name: Build and publish
run: |
poetry version $(git describe --tags --abbrev=0)
poetry publish --build