<commit_before>name: "New plugin release"
on:
  push:
    tags:
      - v[0-9]+.[0-9]+.[0-9]+

jobs:
  make-new-release:
    if: github.event.base_ref == 'refs/heads/master'
    name: "Releasing plugin"
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: set up JDK 1.8
        uses: actions/setup-java@v1
        with:
          java-version: 1.8
      - name: Restore Gradle caches
        uses: actions/cache@v1
        with:
          path: ~/.gradle/caches
          key: ${{ runner.os }}-gradle-cache-${{ hashFiles('**/*.gradle.kts') }}-${{ hashFiles('**/gradle.properties') }}
          restore-keys: |
            ${{ runner.os }}-gradle-cache-
      - name: Restore Gradle wrapper
        uses: actions/cache@v1
        with:
          path: ~/.gradle/wrapper
          key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradlew') }}
          restore-keys: |
            ${{ runner.os }}-gradle-wrapper-
      - name: Publish plugin
        env:
          GRADLE_PUBLISH_KEY: {{ secrets.GRADLE_PUBLISH_KEY }}
          GRADLE_PUBLISH_SECRET: {{ secrets.GRADLE_PUBLISH_SECRET }}
          GITHUB_KEY: {{ secrets.GithubKey }}
        run: ./plugin/gradlew -p ./plugin publishPlugins --no-daemon
      - name: Create new Github release
        env:
          GRADLE_PUBLISH_KEY: { { secrets.GRADLE_PUBLISH_KEY } }
          GRADLE_PUBLISH_SECRET: { { secrets.GRADLE_PUBLISH_SECRET } }
          GITHUB_KEY: { { secrets.GithubKey } }
        run: ./plugin/gradlew -p ./plugin githubRelease --no-daemon<commit_msg>Fix release workflow uses wrongly secrets.<commit_after>name: "New plugin release"
on:
  push:
    tags:
      - v[0-9]+.[0-9]+.[0-9]+

jobs:
  make-new-release:
    if: github.event.base_ref == 'refs/heads/master'
    name: "Releasing plugin"
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: set up JDK 1.8
        uses: actions/setup-java@v1
        with:
          java-version: 1.8
      - name: Restore Gradle caches
        uses: actions/cache@v1
        with:
          path: ~/.gradle/caches
          key: ${{ runner.os }}-gradle-cache-${{ hashFiles('**/*.gradle.kts') }}-${{ hashFiles('**/gradle.properties') }}
          restore-keys: |
            ${{ runner.os }}-gradle-cache-
      - name: Restore Gradle wrapper
        uses: actions/cache@v1
        with:
          path: ~/.gradle/wrapper
          key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradlew') }}
          restore-keys: |
            ${{ runner.os }}-gradle-wrapper-
      - name: Publish plugin
        env:
          GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
          GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
          GITHUB_KEY: ${{ secrets.GithubKey }}
        run: ./plugin/gradlew -p ./plugin publishPlugins --no-daemon
      - name: Create new Github release
        env:
          GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
          GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
          GITHUB_KEY: ${{ secrets.GithubKey }}
        run: ./plugin/gradlew -p ./plugin githubRelease --no-daemon
{'fraction_non_alphanumeric': 0.14731148584155265, 'fraction_numerical': 0.008908685968819599, 'mean_word_length': 2.0435624394966116, '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': '1058343', 'n_tokens_mistral': 1126, 'n_tokens_neox': 1043, 'n_words': 200}