2021-12-27 19:01:45 +01:00
|
|
|
# This workflow uses actions that are not certified by GitHub.
|
|
|
|
# They are provided by a third-party and are governed by
|
|
|
|
# separate terms of service, privacy policy, and support
|
|
|
|
# documentation.
|
|
|
|
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
|
|
|
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
|
|
|
|
|
|
|
|
name: Java CI with Gradle
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-12-27 19:07:05 +01:00
|
|
|
- name: Set up JDK 8
|
|
|
|
uses: actions/setup-java@v1
|
2021-12-27 19:01:45 +01:00
|
|
|
with:
|
2021-12-27 19:07:05 +01:00
|
|
|
java-version: '8'
|
2021-12-27 19:01:45 +01:00
|
|
|
distribution: 'adopt'
|
|
|
|
- name: Build with Gradle
|
2021-12-27 19:10:09 +01:00
|
|
|
run: ./gradlew build
|