From fb863d64d82928ca068fc4761a0453989b638b81 Mon Sep 17 00:00:00 2001 From: Vadim Laletin Date: Mon, 30 Sep 2024 18:59:45 +0200 Subject: [PATCH] Update workflows --- .github/workflows/publish.yaml | 10 +++++----- README.md | 3 ++- aidbox_python_sdk_tbs/__init__.py | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 8d2450f..213966c 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -3,13 +3,13 @@ name: Publish to https://pypi.org/ on: release: types: [created] - jobs: - build: + pypi-publish: + name: upload release to PyPI runs-on: ubuntu-latest + environment: release permissions: - packages: write - contents: read + id-token: write steps: - uses: actions/checkout@v3 - name: Set up Python 3.11 @@ -20,5 +20,5 @@ jobs: run: pip install wheel build - name: Build a binary wheel and a source tarball run: python -m build - - name: Publish package + - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/README.md b/README.md index 29e4fc4..b155684 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,8 @@ from collections.abc import AsyncGenerator import fhirpy_types_r4b as r4b from aidbox_python_sdk.types import SDKOperation, SDKOperationRequest -from aidbox_python_sdk_tbs import SubscriptionDefinition, r4b_tbs_ctx_factory +from aidbox_python_sdk_tbs import SubscriptionDefinition +from aidbox_python_sdk_tbs.r4b impotr r4b_tbs_ctx_factory from aiohttp import web from app import app_keys as ak diff --git a/aidbox_python_sdk_tbs/__init__.py b/aidbox_python_sdk_tbs/__init__.py index 195a97e..cc92695 100644 --- a/aidbox_python_sdk_tbs/__init__.py +++ b/aidbox_python_sdk_tbs/__init__.py @@ -2,7 +2,7 @@ from .types import FilterBy, SubscriptionDefinition __title__ = "aidbox-python-sdk-tbs" -__version__ = "0.0.1a2" +__version__ = "0.0.1a3" __author__ = "beda.software" __license__ = "MIT" __copyright__ = "Copyright 2024 beda.software"