Skip to content

Merge branch 'develop' #10

Merge branch 'develop'

Merge branch 'develop' #10

Workflow file for this run

name: Publish
on:
push:
branches:
- main
tags:
- v*
jobs:
publish:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
contents: read
env:
OS: ubuntu-latest
PYTHON: "3.10"
POETRY: "1.8.3"
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: ${{ env.PYTHON }}
- name: Setup Poetry
uses: abatilo/actions-poetry@v3
with:
poetry-version: ${{ env.POETRY }}
- name: Install Dependencies
run: poetry install
- name: Build package
run: poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"