diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 526df86..cd21ba2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,9 @@ jobs: submodules: true - name: Build SDist - run: pipx run build --sdist + run: pipx run build --sdist ${{github.workspace}}/python/ + - name: Move sdist to dist + run: mkdir -p dist && mv ${{github.workspace}}/python/dist/*.tar.gz dist/ - name: Check metadata run: pipx run twine check dist/* @@ -44,7 +46,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-13, windows-latest] + os: [ubuntu-22.04, windows-2022, macos-11] steps: - uses: actions/checkout@v4 @@ -55,12 +57,15 @@ jobs: env: CIBW_ARCHS_MACOS: universal2 CIBW_ARCHS_WINDOWS: auto ARM64 + with: + package-dir: ${{github.workspace}}/python/ - name: Verify clean directory run: git diff --exit-code shell: bash - uses: actions/upload-artifact@v4 + working-directory: ./python with: name: cibw-wheels-${{ matrix.os }} path: wheelhouse/*.whl