From 392311ee13597508a597aee0d5de7aba6edd12aa Mon Sep 17 00:00:00 2001 From: Leon Haffmans Date: Fri, 6 Oct 2023 17:17:26 +0200 Subject: [PATCH] Regenerate json schemas in PyPi Release workflow --- .github/workflows/python-publish.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index e0a68c198..fc72aaddb 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -51,6 +51,13 @@ jobs: pip install -r dev_requirements/requirements-packaging.txt - name: Build wheel and source distributions run: python -m build + - name: Install tox + run: | + python -m pip install --upgrade pip + pip install tox + - name: Regenerate JSON-Schemas + # This step is needed to set the correct _version default value in the JSON-Schemas + run: tox -e generate_json_schemas - name: Publish distribution 📦 to PyPI if: startsWith(github.ref, 'refs/tags/v') uses: pypa/gh-action-pypi-publish@release/v1