Skip to content

Bump pypa/cibuildwheel from 2.21.2 to 2.21.3 #3

Bump pypa/cibuildwheel from 2.21.2 to 2.21.3

Bump pypa/cibuildwheel from 2.21.2 to 2.21.3 #3

Workflow file for this run

name: Build
on: [push, pull_request, workflow_dispatch]
jobs:
build_wheels:
needs: [doc_consistency]

Check failure on line 7 in .github/workflows/build_wheels.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build_wheels.yml (Line: 7, Col: 13): Job 'build_wheels' depends on unknown job 'doc_consistency'. .github/workflows/build_wheels.yml (Line: 53, Col: 13): Job 'upload_all' depends on job 'build_wheels' which creates a cycle in the dependency graph.
name: Build wheels on ${{ matrix.os }} ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-12, macos-14, windows-2019]
arch: [x86_64, aarch64]
exclude:
- os: macos-12
arch: aarch64
- os: macos-14
arch: x86_64
- os: windows-2019
arch: aarch64
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/[email protected]
with:
platforms: arm64
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}-${{ matrix.arch }}
path: ./wheelhouse/*.whl
if-no-files-found: error
make_sdist:
name: Make SDist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build SDist
run: pipx run build --sdist
- uses: actions/upload-artifact@v4
with:
name: sdist
path: dist/*.tar.gz
if-no-files-found: error
upload_all:
needs: [build_wheels, make_sdist]
runs-on: ubuntu-latest
environment:
name: release
url: https://pypi.org/p/shufflish
permissions:
contents: write
id-token: write
if: github.ref_type == 'tag'
steps:
- uses: actions/download-artifact@v4
with:
path: dist
merge-multiple: true
- name: Publish to PyPI
uses: pypa/[email protected]
- name: Create Github Release
uses: ncipollo/[email protected]
with:
artifacts: dist/*
draft: false
prerelease: false