2020-12-21 11:49:31 -05:00
|
|
|
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
|
2021-10-22 22:34:38 -04:00
|
|
|
config-file:
|
|
|
|
|
description: 'File containing the config, defaults to {package}/pyproject.toml'
|
|
|
|
|
required: false
|
|
|
|
|
default: ''
|
2020-12-21 11:49:31 -05:00
|
|
|
branding:
|
|
|
|
|
icon: package
|
|
|
|
|
color: yellow
|
|
|
|
|
|
|
|
|
|
runs:
|
|
|
|
|
using: composite
|
|
|
|
|
steps:
|
|
|
|
|
|
2021-06-30 18:10:01 -04:00
|
|
|
# Redirecting stderr to stdout to fix interleaving issue in Actions.
|
2021-01-20 18:16:15 -05:00
|
|
|
- run: >
|
|
|
|
|
pipx run
|
2021-07-09 16:06:16 -04:00
|
|
|
--spec '${{ github.action_path }}'
|
2021-01-20 18:16:15 -05:00
|
|
|
cibuildwheel
|
|
|
|
|
${{ inputs.package-dir }}
|
|
|
|
|
--output-dir ${{ inputs.output-dir }}
|
2021-10-26 15:16:58 -04:00
|
|
|
--config-file "${{ inputs.config-file }}"
|
2021-06-30 18:10:01 -04:00
|
|
|
2>&1
|
2021-07-09 16:06:16 -04:00
|
|
|
shell: bash
|