Skip to content

publish yaylib 1.5.0 beta 1 (#70) #9

publish yaylib 1.5.0 beta 1 (#70)

publish yaylib 1.5.0 beta 1 (#70) #9

Workflow file for this run

name: Publish yaylib to PyPI
on:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Check poetry
run: |
poetry --version
poetry config --list
- name: Install dependencies
run: |
poetry install
./poetry_plugins.sh
- name: Configure poetry
run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
- name: Publish to PyPI
run: |
poetry build
poetry publish