2021-07-08 17:53:54 +02:00
|
|
|
# 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: Check code
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2021-07-22 00:54:33 +02:00
|
|
|
branches: [ 1.7.10 ]
|
2021-07-08 17:53:54 +02:00
|
|
|
pull_request:
|
2021-07-22 00:54:33 +02:00
|
|
|
branches: [ 1.7.10 ]
|
2021-07-08 17:53:54 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up JDK 8
|
|
|
|
uses: actions/setup-java@v2
|
|
|
|
with:
|
|
|
|
java-version: '8.0.292+10'
|
|
|
|
distribution: 'adopt'
|
|
|
|
- name: Grant execute permission for gradlew
|
|
|
|
run: chmod +x gradlew
|
|
|
|
- name: Build with Gradle
|
2021-07-21 00:09:03 +02:00
|
|
|
run: ./gradlew build release
|