From f81fa9c302abe44a7a4b984e766cbfb9fdab5154 Mon Sep 17 00:00:00 2001 From: Hailin Wang Date: Wed, 19 Jun 2024 23:13:25 +0800 Subject: [PATCH] Update working directory --- .github/workflows/wheels.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 7866b91b..7700bec8 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -39,8 +39,9 @@ jobs: pipx install cibuildwheel - name: Build wheels - run: - cd python && cibuildwheel --output-dir wheelhouse + run: | + cibuildwheel --output-dir wheelhouse + working-directory: python env: CIBW_ARCHS: ${{ github.event_name == 'release' && 'auto' || 'auto64' }} CIBW_BUILD: ${{ github.event_name == 'release' && 'cp312-*' || 'cp312-macosx* cp312-win* cp312-manylinux*' }} @@ -78,7 +79,8 @@ jobs: - name: Build source distribution run: | - cd python && python -m build --sdist --outdir dist + python -m build --sdist --outdir dist + working-directory: python - uses: actions/upload-artifact@v4 if: always()