github workflows: fix working directory

This commit is contained in:
Mario Fink 2021-09-21 15:31:54 +02:00
parent 12963bae91
commit 372d4a42f5

View File

@ -17,8 +17,10 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
- name: Install cibuildwheel - name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.1.2 run: python -m pip install cibuildwheel==2.1.2
working-directory: python/
- name: Build wheels - name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse run: python -m cibuildwheel --output-dir wheelhouse
working-directory: python/
build_sdist: build_sdist:
name: Build source distribution name: Build source distribution
@ -27,6 +29,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Build sdist - name: Build sdist
run: python setup.py sdist run: python setup.py sdist
working-directory: python/
upload_pypi: upload_pypi:
name: Upload binary wheels to PyPI name: Upload binary wheels to PyPI
@ -38,3 +41,4 @@ jobs:
with: with:
user: __token__ user: __token__
password: ${{ secrets.IMCTERMITE_GITHUB_WORKFLOW_PYPI_API_TOKEN }} password: ${{ secrets.IMCTERMITE_GITHUB_WORKFLOW_PYPI_API_TOKEN }}
working-directory: python/