29 lines
687 B
YAML
29 lines
687 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
|
|
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 }}
|
|
2>&1
|
|
shell: bash
|