Files
cibuildwheel/action.yml
T
Henry SchreinerandJoe Rickerby 12c64365e2 fix: add missing config-file option to the action (#883)
* fix: add missing config-file option to the action

* feat: empty config-file triggers default behavior

* Apply suggestions from code review

Co-authored-by: Joe Rickerby <joerick@mac.com>

Co-authored-by: Joe Rickerby <joerick@mac.com>
2021-10-22 22:34:38 -04:00

34 lines
871 B
YAML

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