<commit_before>name: Publish PyPI package
on:
  release:
    types: [published]

jobs:
  deploy:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python
      uses: actions/setup-python@v2
      with:
        python-version: '3.x'
    - name: Install the development and release requirements
      run: |
        python -m pip install --upgrade pip
        pip install -r requirements.pip
        pip install wheel twine
    - name: Cleanup build and dist folders
      run: rm -rf build dist pyxform.egg-info
    - name: Prepare sdist and bdist_wheel distributions<commit_msg>Use Python 3.8 to fix issue with build<commit_after>name: Publish PyPI package
on:
  release:
    types: [published]

jobs:
  deploy:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python
      uses: actions/setup-python@v2
      with:
        python-version: '3.8'
    - name: Install the development and release requirements
      run: |
        python -m pip install --upgrade pip
        pip install -r requirements.pip
        pip install wheel twine
    - name: Cleanup build and dist folders
      run: rm -rf build dist pyxform.egg-info
    - name: Prepare sdist and bdist_wheel distributions
{'fraction_non_alphanumeric': 0.0768012668250198, 'fraction_numerical': 0.007125890736342043, 'mean_word_length': 2.352785145888594, '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': '5266468', 'n_tokens_mistral': 389, 'n_tokens_neox': 373, 'n_words': 134}