diff --git a/.github/actions/build-macos-release/action.yml b/.github/actions/build-macos-release/action.yml index 61712cdc6..5fa98bcf8 100644 --- a/.github/actions/build-macos-release/action.yml +++ b/.github/actions/build-macos-release/action.yml @@ -17,6 +17,8 @@ runs: steps: - name: Build Python package shell: bash -l {0} + env: + MACOSX_DEPLOYMENT_TARGET: ${{ inputs.macos-target }} run: | pip install build python setup.py clean --all @@ -25,6 +27,8 @@ runs: - name: Build backend package if: ${{ inputs.build-backend }} shell: bash -l {0} + env: + MACOSX_DEPLOYMENT_TARGET: ${{ inputs.macos-target }} run: | python setup.py clean --all MLX_BUILD_STAGE=2 python -m build -w diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0fa7cfdfa..0a97e3918 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,14 +65,14 @@ jobs: uses: actions/upload-artifact@v5 with: overwrite: true - name: linux-wheels-${{ matrix.python_version }} + name: linux-wheels-${{ matrix.python_version }}-${{ matrix.arch }} path: wheelhouse/mlx-*.whl - name: Upload CPU artifacts if: matrix.python_version == '3.10' uses: actions/upload-artifact@v5 with: overwrite: true - name: mlx-cpu + name: mlx-cpu-${{ matrix.arch }} path: wheelhouse/mlx_cpu-*.whl build_mac_release: @@ -208,7 +208,8 @@ jobs: steps: - uses: actions/download-artifact@v6 with: - name: mlx-cpu + pattern: mlx-cpu-* + merge-multiple: true path: dist - name: Display structure of downloaded files run: ls -R dist