diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index d4bbc9579..4823ccbb9 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -2,20 +2,28 @@ 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]+**' + branches: [main, v8.3.x] + pull_request: + branches: ["*"] + workflow_dispatch: # allows you to trigger manually + +# When this workflow is queued, automatically cancel any previous running +# or pending jobs from the same branch +concurrency: + group: cidbuildwheel-${{ github.ref }} + cancel-in-progress: true + jobs: build_wheels: - uses: explosion/gha-cibuildwheel/.github/workflows/cibuildwheel.yml@main + uses: crusaderky/gha-cibuildwheel/.github/workflows/cibuildwheel.yml@nightly permissions: contents: write actions: read with: wheel-name-pattern: "thinc-*.whl" pure-python: false + create-release: ${{ startsWith(github.ref, 'refs/tags/release-') || startsWith(github.ref, 'refs/tags/prerelease-') }} + nightly-upload: ${{ github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/v8.3.x' }} secrets: gh-token: ${{ secrets.GITHUB_TOKEN }} - + anaconda_nightly_upload_token: ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }} diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index ed07f1a3c..e2df4ed4e 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -1,5 +1,5 @@ -# The cibuildwheel action triggers on creation of a release, this -# triggers on publication. +# The cibuildwheel action triggers on all pushes and PRs; +# this action triggers on release publication. # The expected workflow is to create a draft release and let the wheels # upload, and then hit 'publish', which uploads to PyPi. diff --git a/thinc/about.py b/thinc/about.py index 891a0b058..32d2d2262 100644 --- a/thinc/about.py +++ b/thinc/about.py @@ -1,2 +1,2 @@ -__version__ = "8.3.10" -__release__ = True +__version__ = "8.3.11.dev0" +__release__ = False