Skip to content

Add support for castable integer and port number types in config sche… #305

Add support for castable integer and port number types in config sche…

Add support for castable integer and port number types in config sche… #305

Workflow file for this run

name: release
on:
push:
branches: [master]
jobs:
test:
uses: ./.github/workflows/test_and_build.yml
secrets: inherit
build:
runs-on: ubuntu-latest
environment: CD
needs:
- test
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip poetry
poetry config virtualenvs.create false
poetry lock
poetry install
- name: Build package
run: poetry build
- name: Build docs
run: cd docs && make html
- name: Release to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: twine upload --verbose dist/* || echo 'Version exists'