Bump org.fusesource.jansi:jansi from 1.18 to 2.4.1 #803
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI | |
on: | |
push: | |
branches: | |
- master | |
- '[7-9]+.[0-9]+.x' | |
pull_request: | |
branches: | |
- master | |
- '[7-9]+.[0-9]+.x' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: ['8', '11'] | |
env: | |
WORKSPACE: ${{ github.workspace }} | |
GRADLE_OPTS: -Xmx1500m -Dfile.encoding=UTF-8 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Optional setup step | |
run: | | |
[ -f ./setup.sh ] && ./setup.sh || true | |
- name: Run Tests | |
run: | | |
./gradlew --no-daemon --refresh-dependencies clean check | |
- name: Publish Test Report | |
if: failure() | |
uses: scacap/action-surefire-report@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
report_paths: '**/build/test-results/test/TEST-*.xml' | |
- name: Run Assemble | |
if: success() && github.event_name == 'push' && matrix.java == '8' | |
run: ./gradlew assemble | |
- name: Publish to repo.grails.org | |
if: success() && github.event_name == 'push' && matrix.java == '8' | |
env: | |
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} | |
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} | |
run: | | |
./gradlew -Dorg.gradle.internal.publish.checksums.insecure=true publish | |
- name: Extract branch name | |
if: success() && github.event_name == 'push' && matrix.java == '8' | |
id: extract_branch | |
run: echo ::set-output name=value::${GITHUB_REF:11} | |
- name: Create Snapshot Message for the Workflow Dispatch | |
if: success() && github.event_name == 'push' && matrix.java == '8' | |
id: dispatch_message | |
run: echo ::set-output name=value::{\"message\":\"New Core Snapshot $(date) - $GITHUB_SHA\"} | |
- name: Invoke the Java CI workflow in GORM Hibernate5 | |
if: success() && github.event_name == 'push' && matrix.java == '8' | |
uses: benc-uk/[email protected] | |
with: | |
workflow: Java CI | |
repo: grails/gorm-hibernate5 | |
ref: ${{ steps.extract_branch.outputs.value }} | |
token: ${{ secrets.GH_TOKEN }} | |
inputs: ${{ steps.dispatch_message.outputs.value }} | |
- name: Invoke the Java CI workflow in GORM MongoDB | |
if: success() && github.event_name == 'push' && matrix.java == '8' | |
uses: benc-uk/[email protected] | |
with: | |
workflow: Java CI | |
repo: grails/gorm-mongodb | |
ref: ${{ steps.extract_branch.outputs.value }} | |
token: ${{ secrets.GH_TOKEN }} | |
inputs: ${{ steps.dispatch_message.outputs.value }} | |
- name: Invoke the Java CI workflow in GORM Neo4j | |
if: success() && github.event_name == 'push' && matrix.java == '8' | |
uses: benc-uk/[email protected] | |
with: | |
workflow: Java CI | |
repo: grails/gorm-neo4j | |
ref: ${{ steps.extract_branch.outputs.value }} | |
token: ${{ secrets.GH_TOKEN }} | |
inputs: ${{ steps.dispatch_message.outputs.value }} |