fix: action still runs if setup-python is not called (#542)

* fix: action works if setup-python is missed

* fix: two steps

* fix: combine again

* fix: use pipx for action
This commit is contained in:
Henry Schreiner
2021-01-20 18:16:15 -05:00
committed by GitHub
parent 03f83455d8
commit 4a02410632
2 changed files with 7 additions and 5 deletions
+6 -4
View File
@@ -19,8 +19,10 @@ runs:
# This needs powershell-core because github.action path is a Windows-style
# path on Windows. Powershell-core understands both types of paths.
- run: python -m pip install ${{ github.action_path }}
- run: >
pipx run
--spec ${{ github.action_path }}
cibuildwheel
${{ inputs.package-dir }}
--output-dir ${{ inputs.output-dir }}
shell: pwsh
- run: python -m cibuildwheel ${{ inputs.package-dir }} --output-dir ${{ inputs.output-dir }}
shell: bash