Skip to content

Commit

Permalink
Do not use working-directory for maturin
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Oct 2, 2023
1 parent c6b60d5 commit 5c91625
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,22 +85,25 @@ jobs:
with:
command: build
target: ${{ steps.target.outputs.target }}
working-directory: py-polars
args: --release ${{ matrix.os == 'ubuntu-latest' && matrix.architecture == 'x86-64' && '--sdist' || ''}}
args: >
--release
--manifest-path py-polars/Cargo.toml
--out dist
${{ matrix.os == 'ubuntu-latest' && matrix.architecture == 'x86-64' && '--sdist' || ''}}
manylinux: auto

- name: Upload sdist
if: matrix.os == 'ubuntu-latest' && matrix.architecture == 'x86-64'
uses: actions/upload-artifact@v3
with:
name: sdist
path: py-polars/target/wheels/*.tar.gz
path: dist/*.tar.gz

- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: py-polars/target/wheels/*.whl
path: dist/*.whl

publish-to-pypi:
needs: build-wheels
Expand Down

0 comments on commit 5c91625

Please sign in to comment.