From 0f99a84d8fc0a0b53f5aec694c43e565803e9525 Mon Sep 17 00:00:00 2001 From: Leon Haffmans <49658102+lord-haffi@users.noreply.github.com> Date: Mon, 13 May 2024 13:29:57 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=F0=9F=93=84Fix=20JSON-Schema=20lin?= =?UTF-8?q?ks=20in=20documentation=20(#795)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docs_latest.yml | 5 +++++ .github/workflows/python-publish.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/docs_latest.yml b/.github/workflows/docs_latest.yml index 3176ac405..054ae4e84 100644 --- a/.github/workflows/docs_latest.yml +++ b/.github/workflows/docs_latest.yml @@ -45,6 +45,11 @@ jobs: run: tox -e generate_json_schemas env: TARGET_VERSION: ${{ env.REF_NAME }} + - name: Build BO4E package + # Note: This step necessary to correctly set the version in the JSON-Schema-links + run: | + pip install -e . + python -c "import bo4e; print(bo4e.__gh_version__)" - name: Run kroki with docker run: | docker compose up -d diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index db40f07aa..afd39a422 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -97,6 +97,11 @@ jobs: run: tox -e generate_json_schemas env: TARGET_VERSION: ${{ github.ref_name }} + - name: Build BO4E package + # Note: This step necessary to correctly set the version in the JSON-Schema-links + run: | + pip install -e . + python -c "import bo4e; print(bo4e.__gh_version__)" - name: Run kroki with docker run: | docker compose up -d