name: Test Bnd

on:
  schedule:
    # Every Day at 3am
    - cron: '0 3 * * *'

env:
  LC_ALL: en_US.UTF-8
  GRADLE_OPTS: -Dorg.gradle.parallel=false
  ORG_GRADLE_PROJECT_bnd_version: 5.2.0-SNAPSHOT

defaults:
  run:
    shell: bash

jobs:
  JDK8_Linux:
    name: JDK8 ubuntu-latest
    runs-on: ubuntu-latest
    steps:
    - name: Git Checkout
      uses: actions/checkout@v2
    - name: Gradle Wrapper Validation
      uses: gradle/wrapper-validation-action@v1
    - name: Set up Java
      uses: actions/setup-java@v1
      with:
        java-version: 8
    - name: Build
      id: build
      run: |
        ./.github/scripts/build.sh :buildscriptDependencies
    - name: Core CT
      id: ct_core
      if: (steps.build.conclusion == 'success')
      run: |
        ./.github/scripts/ct-core.sh

Add nightly test bnd build
actions: Add nightly test bnd build
