diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef6c277..618ea7f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,4 @@ -# 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 +# This workflow will build a Java project with Gradle # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle name: Java CI with Gradle @@ -11,22 +7,24 @@ on: push: branches: [ master ] pull_request: - branches: [ master] + branches: [ master ] jobs: - build: + build-java: runs-on: ubuntu-latest - + steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v2 + + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 with: - java-version: '11' - distribution: 'temurin' + java-version: 1.8 + - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle run: ./gradlew build +