diff --git a/examples/github-deploy.yml b/examples/github-deploy.yml index aed86393..81fea41d 100644 --- a/examples/github-deploy.yml +++ b/examples/github-deploy.yml @@ -26,15 +26,12 @@ jobs: with: python-version: '3.8' - - name: Install cibuildwheel - run: python -m pip install cibuildwheel==1.8.0 - - name: Install Visual C++ for Python 2.7 if: runner.os == 'Windows' run: choco install vcpython27 -f -y - name: Build wheels - run: python -m cibuildwheel --output-dir wheelhouse + uses: joerick/cibuildwheel@v1.8.0 - uses: actions/upload-artifact@v2 with: diff --git a/examples/github-minimal.yml b/examples/github-minimal.yml index db5cf436..1c054686 100644 --- a/examples/github-minimal.yml +++ b/examples/github-minimal.yml @@ -17,7 +17,11 @@ jobs: if: runner.os == 'Windows' run: choco install vcpython27 -f -y - - uses: joerick/cibuildwheel@v1.8.0 + - name: Build wheels + uses: joerick/cibuildwheel@v1.8.0 + env: + # if you need to supply options, put them here. e.g. + # CIBW_SOME_OPTION: value - uses: actions/upload-artifact@v2 with: diff --git a/examples/github-with-qemu.yml b/examples/github-with-qemu.yml index cccc363f..ad03e490 100644 --- a/examples/github-with-qemu.yml +++ b/examples/github-with-qemu.yml @@ -18,9 +18,6 @@ jobs: with: python-version: '3.7' - - name: Install cibuildwheel - run: python -m pip install cibuildwheel==1.8.0 - - name: Install Visual C++ for Python 2.7 if: runner.os == 'Windows' run: choco install vcpython27 -f -y @@ -32,7 +29,7 @@ jobs: platforms: all - name: Build wheels - run: python -m cibuildwheel --output-dir wheelhouse + uses: joerick/cibuildwheel@v1.8.0 env: # configure cibuildwheel to build native archs ('auto'), and some # emulated ones