<commit_before>name: Deploy

on:
  create:
    tags:
      - "[0-9]+.[0-9]+"

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Check out Git repository
        uses: actions/checkout@v2

      - name: Install Java and Maven
        uses: actions/setup-java@v1
        with:
          java-version: 11
          
      - name: Set maven version
        run: |
          echo ${GITHUB_REF#refs/*/}
          mvn -B versions:set -DnewVersion=${GITHUB_REF#refs/*/}
          
      - name: Deploy to Maven Central
        uses: samuelmeuli/action-maven-publish@v1
        with:
          gpg_private_key: ${{ secrets.gpg_private_key }}
          gpg_passphrase: ${{ secrets.gpg_passphrase }}
          nexus_username: ${{ secrets.nexus_username }}
          nexus_password: ${{ secrets.nexus_password }}<commit_msg>Try fix running github actions deploy script on newly created branch<commit_after>name: Deploy

on:
  create:
    branches:
      - "!*"
    tags:
      - "[0-9]+.[0-9]+"

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Check out Git repository
        uses: actions/checkout@v2

      - name: Install Java and Maven
        uses: actions/setup-java@v1
        with:
          java-version: 11

      - name: Set maven version
        run: |
          echo ${GITHUB_REF#refs/*/}
          mvn -B versions:set -DnewVersion=${GITHUB_REF#refs/*/}

      - name: Deploy to Maven Central
        uses: samuelmeuli/action-maven-publish@v1
        with:
          gpg_private_key: ${{ secrets.gpg_private_key }}
          gpg_passphrase: ${{ secrets.gpg_passphrase }}
          nexus_username: ${{ secrets.nexus_username }}
          nexus_password: ${{ secrets.nexus_password }}
{'fraction_non_alphanumeric': 0.11614401858304298, 'fraction_numerical': 0.010452961672473868, 'mean_word_length': 2.006980802792321, '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': '941061', 'n_tokens_mistral': 584, 'n_tokens_neox': 551, 'n_words': 121}