# We create a composite action to be re-used both for testing and for releasing name: build_wheel description: "Build a lance wheel" inputs: python-minor-version: description: "8, 9, 10, 11" required: true args: description: "--release" required: false default: "" runs: using: "composite" steps: - name: Install macos dependency shell: bash run: | brew install protobuf - name: Build wheel uses: PyO3/maturin-action@v1 with: command: build args: ${{ inputs.args }} docker-options: "-e PIP_EXTRA_INDEX_URL=https://pypi.fury.io/lancedb/" working-directory: python interpreter: 3.${{ inputs.python-minor-version }}