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:
|
2023-09-04 23:17:10 +02:00
|
|
|
- uses: actions/checkout@v4
|
2023-10-23 23:59:46 +02:00
|
|
|
- uses: actions/setup-node@v4
|
2023-02-26 16:54:30 +01:00
|
|
|
with:
|
|
|
|
cache: npm
|
2023-12-07 08:27:59 +01:00
|
|
|
- name: Set up JDK 21
|
2023-11-29 22:47:38 +01:00
|
|
|
uses: actions/setup-java@v4
|
2020-12-22 00:06:32 +01:00
|
|
|
with:
|
2021-09-30 06:50:23 +02:00
|
|
|
distribution: 'temurin'
|
2023-12-07 08:27:59 +01:00
|
|
|
java-version: 21
|
2021-09-30 06:50:34 +02:00
|
|
|
cache: gradle
|
2023-02-26 16:54:30 +01:00
|
|
|
|
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
|