From 8806990b24f27b2b13ff49f3854c31945d9c929d Mon Sep 17 00:00:00 2001 From: Pierre Schnizer Date: Fri, 14 Jun 2024 19:35:57 +0200 Subject: [PATCH] [FIX] build proto at the correct stage --- .github/workflows/python-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index aed4e99..32de746 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -20,7 +20,6 @@ jobs: python-version: '3.x' - name: Install dependencies run: | - python setup.py build_proto_c python -m pip install --upgrade pip wheel setuptools twine pip install setuptools wheel twine - name: Build and publish @@ -28,5 +27,6 @@ jobs: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | + python setup.py build_proto_c python setup.py sdist bdist_wheel python -m twine --repository testpypi upload dist/*