<commit_before>name: Build and Test (w/ Gradle)

on:
#disable gradle build until ISIS-2437 is resolved
  schedule:
    # * dummy, such that virtually never runs
    - cron:  '0 0 1 1 0'
#  push:
#    branches:
#      - master
#  pull_request:
#    branches:
#      - master

jobs:
  build:
    name: build-local-no-push-gradle
    runs-on: ubuntu-latest
    env:
      # to be shared among all steps of this job
      BASELINE: 2.0.0-M5
      PROJECT_ROOT_PATH: ${{ github.workspace }}
      CI_SCRIPTS_PATH: ${{ github.workspace }}/scripts/ci
      
      # not used, would be nice if we could transform the TIMESTAMP string into the REVISION 
      # variable here, but it seems github not yet has any string expression manipulation 
      # operators other than concatination   
      TIMESTAMP: ${{ github.event.head_commit.timestamp }}

    steps:
    - uses: actions/checkout@v2.3.4
    
    - name: Set up JDK 16
      uses: actions/setup-java@v2
      with:
        distribution: 'zulu'
        java-version: 16
    
    - name: Set up Gradle and print Version
      uses: eskatos/gradle-command-action@v1.5.0
      with:
        gradle-version: 6.5.1
        wrapper-cache-enabled: true
        dependencies-cache-enabled: true
        arguments: --version
    
    - name: Setup Script Environment
      shell: bash
      run: |
        echo ==============  ENV  =================
        echo BASELINE         \: $BASELINE
        echo TIMESTAMP        \: $TIMESTAMP
        echo PROJECT_ROOT_PATH\: $PROJECT_ROOT_PATH
        echo CI_SCRIPTS_PATH  \: $CI_SCRIPTS_PATH
        echo MVN_STAGES       \: $MVN_STAGES
        echo ======================================
    
    - name: Build Artifacts (w/ Gradle)
      shell: bash
      run: bash $CI_SCRIPTS_PATH/build-artifacts-using-gradle.sh
#      env:
#        # also build and run regressiontests and kroviz
#        MVN_ADDITIONAL_OPTS: -Dregressiontests-module -Dkroviz-module<commit_msg>Bump eskatos/gradle-command-action from 1.5.0 to 1.5.1<commit_after>name: Build and Test (w/ Gradle)

on:
#disable gradle build until ISIS-2437 is resolved
  schedule:
    # * dummy, such that virtually never runs
    - cron:  '0 0 1 1 0'
#  push:
#    branches:
#      - master
#  pull_request:
#    branches:
#      - master

jobs:
  build:
    name: build-local-no-push-gradle
    runs-on: ubuntu-latest
    env:
      # to be shared among all steps of this job
      BASELINE: 2.0.0-M5
      PROJECT_ROOT_PATH: ${{ github.workspace }}
      CI_SCRIPTS_PATH: ${{ github.workspace }}/scripts/ci
      
      # not used, would be nice if we could transform the TIMESTAMP string into the REVISION 
      # variable here, but it seems github not yet has any string expression manipulation 
      # operators other than concatination   
      TIMESTAMP: ${{ github.event.head_commit.timestamp }}

    steps:
    - uses: actions/checkout@v2.3.4
    
    - name: Set up JDK 16
      uses: actions/setup-java@v2
      with:
        distribution: 'zulu'
        java-version: 16
    
    - name: Set up Gradle and print Version
      uses: eskatos/gradle-command-action@v1.5.1
      with:
        gradle-version: 6.5.1
        wrapper-cache-enabled: true
        dependencies-cache-enabled: true
        arguments: --version
    
    - name: Setup Script Environment
      shell: bash
      run: |
        echo ==============  ENV  =================
        echo BASELINE         \: $BASELINE
        echo TIMESTAMP        \: $TIMESTAMP
        echo PROJECT_ROOT_PATH\: $PROJECT_ROOT_PATH
        echo CI_SCRIPTS_PATH  \: $CI_SCRIPTS_PATH
        echo MVN_STAGES       \: $MVN_STAGES
        echo ======================================
    
    - name: Build Artifacts (w/ Gradle)
      shell: bash
      run: bash $CI_SCRIPTS_PATH/build-artifacts-using-gradle.sh
#      env:
#        # also build and run regressiontests and kroviz
#        MVN_ADDITIONAL_OPTS: -Dregressiontests-module -Dkroviz-module
{'fraction_non_alphanumeric': 0.11813812294459904, 'fraction_numerical': 0.015178345560333924, 'mean_word_length': 2.2016194331983807, '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': '4039756', 'n_tokens_mistral': 1330, 'n_tokens_neox': 1244, 'n_words': 342}