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