2020-12-22 00:06:32 +01:00
|
|
|
name: Build application
|
|
|
|
|
2021-11-30 05:35:34 +01:00
|
|
|
on: [pull_request, push]
|
2020-12-22 00:06:32 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-03-01 22:28:52 +01:00
|
|
|
- uses: actions/checkout@v3
|
2022-01-25 20:59:31 +01:00
|
|
|
with:
|
|
|
|
submodules: true
|
2021-11-16 20:42:10 +01:00
|
|
|
- name: Set up JDK 17
|
2022-04-08 23:18:59 +02:00
|
|
|
uses: actions/setup-java@v3
|
2020-12-22 00:06:32 +01:00
|
|
|
with:
|
2021-09-30 06:50:23 +02:00
|
|
|
distribution: 'temurin'
|
2021-11-16 20:42:10 +01:00
|
|
|
java-version: 17
|
2021-09-30 06:50:34 +02:00
|
|
|
cache: gradle
|
2020-12-22 00:06:32 +01:00
|
|
|
- name: Build with Gradle
|
2021-09-30 06:45:09 +02:00
|
|
|
run: ./gradlew build --no-daemon
|