<commit_before>name: Build & Publish

on:
  pull_request:
    paths:
      - ".github/workflows/build-and-publish.yml"
      - "setup.*"

  workflow_dispatch:
    inputs:
      branch:
        description: "The branch, tag or SHA to release from"
        required: true
        default: "main"

jobs:
  os-built-distributions:
    name: Build on ${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          ref: ${{ github.event.inputs.branch }}
          submodules: true
      - name: Install Python
        uses: actions/setup-python@v2
      - name: Install build dependencies
        run: python -m pip install --upgrade cibuildwheel
      - name: Build wheels<commit_msg>Fix the branch name in the build and deploy workflow<commit_after>name: Build & Publish

on:
  pull_request:
    paths:
      - ".github/workflows/build-and-publish.yml"
      - "setup.*"

  workflow_dispatch:
    inputs:
      branch:
        description: "The branch, tag or SHA to release from"
        required: true
        default: "master"

jobs:
  os-built-distributions:
    name: Build on ${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          ref: ${{ github.event.inputs.branch }}
          submodules: true
      - name: Install Python
        uses: actions/setup-python@v2
      - name: Install build dependencies
        run: python -m pip install --upgrade cibuildwheel
      - name: Build wheels
{'fraction_non_alphanumeric': 0.10795124782356355, 'fraction_numerical': 0.0023215322112594312, 'mean_word_length': 2.089605734767025, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3615692', 'n_tokens_mistral': 529, 'n_tokens_neox': 513, 'n_words': 142}