Skip to content

Commit 28365f2

Browse files
authored
Merge pull request #7 from hz-b/def/feature/build-publish
[FIX] build proto at the correct stage
2 parents 5f2be90 + 8806990 commit 28365f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
python-version: '3.x'
2121
- name: Install dependencies
2222
run: |
23-
python setup.py build_proto_c
2423
python -m pip install --upgrade pip wheel setuptools twine
2524
pip install setuptools wheel twine
2625
- name: Build and publish
2726
env:
2827
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
2928
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
3029
run: |
30+
python setup.py build_proto_c
3131
python setup.py sdist bdist_wheel
3232
python -m twine --repository testpypi upload dist/*

0 commit comments

Comments
 (0)