<commit_before>name: Reusable workflow to release in PyPI

on:
  workflow_call:
    inputs:
      cli:
        type: string
        required: true
      artifact:
        type: string
        required: false
    secrets:
      PYPI_TWINE_USER:
        required: true
      PYPI_TWINE_PASSWORD:
        required: true
jobs:
  pypi:
    name: Deploy Python package in PyPI
    runs-on: ubuntu-20.04
    steps:
      - name: Chmod
        run: chmod +x build/bin/*sh
      - uses: actions/download-artifact@v2
        if: ${{ inputs.artifact }}
        with:
          name: ${{ inputs.artifact }}
      - name: Build Python package for PyPI
        env:
          TWINE_USERNAME: ${{ secrets.PYPI_TWINE_USER }}
          TWINE_PASSWORD: ${{ secrets.PYPI_TWINE_PASSWORD }}
        run: ${{ inputs.cli }}<commit_msg>cicd:chmod removed<commit_after>name: Reusable workflow to release in PyPI

on:
  workflow_call:
    inputs:
      cli:
        type: string
        required: true
      artifact:
        type: string
        required: false
    secrets:
      PYPI_TWINE_USER:
        required: true
      PYPI_TWINE_PASSWORD:
        required: true
jobs:
  pypi:
    name: Deploy Python package in PyPI
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/download-artifact@v2
        if: ${{ inputs.artifact }}
        with:
          name: ${{ inputs.artifact }}
      - name: Build Python package for PyPI
        env:
          TWINE_USERNAME: ${{ secrets.PYPI_TWINE_USER }}
          TWINE_PASSWORD: ${{ secrets.PYPI_TWINE_PASSWORD }}
        run: ${{ inputs.cli }}
{'fraction_non_alphanumeric': 0.09408773045136681, 'fraction_numerical': 0.006357279084551812, 'mean_word_length': 1.969811320754717, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '967243', 'n_tokens_mistral': 535, 'n_tokens_neox': 486, 'n_words': 123}