Skip to content

Use cibuildwheel action #75

Use cibuildwheel action

Use cibuildwheel action #75

Workflow file for this run

name: Build
on:
push:
tags:
# ytf did they invent their own syntax that's almost regex?
# ** matches 'zero or more of any character'
- 'release-v[0-9]+.[0-9]+.[0-9]+**'
- 'prerelease-v[0-9]+.[0-9]+.[0-9]+**'
jobs:
build:

Check failure on line 12 in .github/workflows/cibuildwheel.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/cibuildwheel.yml (Line: 12, Col: 3): Error calling workflow 'explosion/gha-cibuildwheel/.github/workflows/cibuildwheel.yml@main'. The nested job 'create_release' is requesting 'contents: write', but is only allowed 'contents: read'.
uses: explosion/gha-cibuildwheel/.github/workflows/cibuildwheel.yml@main
with:
wheel-name-pattern: "blis-*.whl"
env: |
{
"DISTUTILS_USE_SDK": "1",
"MSSdk": "1",
"AR": "llvm-ar",
"AS": "llvm-as",
"CC": "clang",
"RANLIB": "echo",
"CIBW_BUILD_VERBOSITY": "5"
}
secrets:
gh-token: ${{ secrets.GITHUB_TOKEN }}