Skip to content

RootBackend protocol uses library types Result and Maybe instead of exceptions #79

RootBackend protocol uses library types Result and Maybe instead of exceptions

RootBackend protocol uses library types Result and Maybe instead of exceptions #79

Workflow file for this run

name: Build Python Package
on:
push:
branches:
- main
pull_request:
branches:
- main
release:
types:
- published
jobs:
build-package:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/stapi-fastapi
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install .
- name: Build package
run: python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: startsWith(github.ref, 'refs/tags')