Skip to content

feat: add to_dict method to domain classes #58

feat: add to_dict method to domain classes

feat: add to_dict method to domain classes #58

Workflow file for this run

name: Release
on:
push:
branches: [main]
pull_request:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install dependencies
run: pip install build twine
- name: Build
run: python3 -m build
- name: Check
run: twine check dist/*
- name: Publish
if: github.event_name == 'release'
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: twine upload dist/*