Skip to content

Commit

Permalink
Merge pull request #7 from hz-b/def/feature/build-publish
Browse files Browse the repository at this point in the history
[FIX] build proto at the correct stage
  • Loading branch information
PierreSchnizer authored Jun 14, 2024
2 parents 5f2be90 + 8806990 commit 28365f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ 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
env:
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/*

0 comments on commit 28365f2

Please sign in to comment.