Skip to content

Commit

Permalink
use separate build_name that doesn't contain evil characters
Browse files Browse the repository at this point in the history
  • Loading branch information
jfolz committed Oct 12, 2024
1 parent db29390 commit 368aa73
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ on: [push, pull_request, workflow_dispatch]

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.build }}
name: Build wheels on ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.build_name }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-12, macos-14, windows-2019]
arch: [x86_64, aarch64]
build: [""]
build_name: [""]
exclude:
- os: macos-12
arch: aarch64
Expand All @@ -20,17 +21,19 @@ jobs:
arch: aarch64
- os: ubuntu-latest
arch: aarch64
build: ""
include:
- os: ubuntu-latest
arch: aarch64
build: "pp*"
build_name: "pypy"
- os: ubuntu-latest
arch: aarch64
build: "cp*manylinux*"
build_name: "manylinux"
- os: ubuntu-latest
arch: aarch64
build: "cp*musllinux*"
build_name: "musllinux"
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand All @@ -48,7 +51,7 @@ jobs:
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.build }}
name: wheels-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.build_name }}
path: ./wheelhouse/*.whl
if-no-files-found: error
make_sdist:
Expand Down

0 comments on commit 368aa73

Please sign in to comment.