2021-08-05 12:40:41 +03:00
|
|
|
name: Gradle build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ dev, master ]
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2022-01-07 19:12:59 +03:00
|
|
|
runs-on: ubuntu-20.04
|
2021-08-05 12:40:41 +03:00
|
|
|
timeout-minutes: 40
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2022-01-07 19:12:59 +03:00
|
|
|
- name: Set up JDK 11
|
|
|
|
uses: actions/setup-java@v2.5.0
|
2021-08-05 12:40:41 +03:00
|
|
|
with:
|
2022-01-07 19:12:59 +03:00
|
|
|
java-version: 11
|
2022-01-07 19:34:55 +03:00
|
|
|
distribution: liberica
|
2022-01-07 19:26:16 +03:00
|
|
|
- name: execute build
|
|
|
|
uses: gradle/gradle-build-action@v2
|
2021-08-05 12:40:41 +03:00
|
|
|
with:
|
2022-01-07 19:26:16 +03:00
|
|
|
arguments: build
|