<commit_before>name: Release

on: [release]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - name: Set up JDK 11
        uses: actions/setup-java@v1
        with:
          java-version: 11
      - name: Cache packages
        uses: actions/cache@v2
        with:
          path: ~/.gradle/caches
          key: gradle-${{ hashFiles('**/*.gradle') }}
          restore-keys: |
            gradle-
      - name: Build and check
        run: ./gradlew clean check integrationTest --console plain
      - name: Publish
        run: ./gradlew buildPlugin publishPlugin --console plain -Ppublish=true<commit_msg>Update caching in release workflow<commit_after>name: Release

on: [release]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - name: Set up JDK 11
        uses: actions/setup-java@v1
        with:
          java-version: 11
      - name: Cache packages
        uses: actions/cache@v2
        with:
          path: |
            ~/.gradle/caches
            ~/.gradle/wrapper
          key: gradle-${{ hashFiles('**/*.gradle', '**/gradle.properties', '**/gradle/wrapper/*') }}
          restore-keys: |
            gradle-
      - name: Build and check
        run: ./gradlew clean check integrationTest --console plain
      - name: Publish
        run: ./gradlew buildPlugin publishPlugin --console plain -Ppublish=true
{'fraction_non_alphanumeric': 0.11744022503516174, 'fraction_numerical': 0.009845288326300985, 'mean_word_length': 1.8178217821782179, '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': '1050555', 'n_tokens_mistral': 443, 'n_tokens_neox': 413, 'n_words': 114}