Skip to content

Update python version in gh actions #3

Update python version in gh actions

Update python version in gh actions #3

Workflow file for this run

name: Publish
on:
push:
branches:
- "master"
env:
PYTHON_VERSION: 3.12.4
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: install poetry
run: pip3 install poetry
- name: install deps
run: poetry install
- name: test
run: poetry run pytest --cache-clear
- name: publish
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN}}
poetry build
poetry publish