name: cibuildwheel description: 'Installs and runs cibuildwheel on the current runner' inputs: package-dir: description: 'Input directory, defaults to "."' required: false default: . output-dir: description: 'Folder to place the outputs in, defaults to "wheelhouse"' required: false default: wheelhouse config-file: description: 'File containing the config, defaults to {package}/pyproject.toml' required: false default: '' branding: icon: package color: yellow runs: using: composite steps: # Redirecting stderr to stdout to fix interleaving issue in Actions. - run: > pipx run --spec '${{ github.action_path }}' cibuildwheel ${{ inputs.package-dir }} --output-dir ${{ inputs.output-dir }} --config-file "${{ input.config-file }}" 2>&1 shell: bash