2020-12-22 00:06:32 +01:00
|
|
|
name: Build application
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
2021-04-24 05:23:06 +02:00
|
|
|
branches: [main]
|
2020-12-22 00:06:32 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-11-16 20:42:10 +01:00
|
|
|
- name: Set up JDK 17
|
2021-11-29 22:29:51 +01:00
|
|
|
uses: actions/setup-java@v2.4.0
|
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
|