* fix: action works if setup-python is missed * fix: two steps * fix: combine again * fix: use pipx for action
29 lines
751 B
YAML
29 lines
751 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:
|
|
|
|
# This needs powershell-core because github.action path is a Windows-style
|
|
# path on Windows. Powershell-core understands both types of paths.
|
|
- run: >
|
|
pipx run
|
|
--spec ${{ github.action_path }}
|
|
cibuildwheel
|
|
${{ inputs.package-dir }}
|
|
--output-dir ${{ inputs.output-dir }}
|
|
shell: pwsh
|