2020-12-21 18:06:32 -05:00
|
|
|
name: Build application
|
|
|
|
|
2021-11-29 23:35:34 -05:00
|
|
|
on: [pull_request, push]
|
2020-12-21 18:06:32 -05:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-09-04 21:17:10 +00:00
|
|
|
- uses: actions/checkout@v4
|
2023-10-23 21:59:46 +00:00
|
|
|
- uses: actions/setup-node@v4
|
2023-02-26 15:54:30 +00:00
|
|
|
with:
|
|
|
|
cache: npm
|
2023-12-07 02:27:59 -05:00
|
|
|
- name: Set up JDK 21
|
2023-11-29 21:47:38 +00:00
|
|
|
uses: actions/setup-java@v4
|
2020-12-21 18:06:32 -05:00
|
|
|
with:
|
2021-09-30 00:50:23 -04:00
|
|
|
distribution: 'temurin'
|
2023-12-07 02:27:59 -05:00
|
|
|
java-version: 21
|
2021-09-30 00:50:34 -04:00
|
|
|
cache: gradle
|
2023-02-26 15:54:30 +00:00
|
|
|
|
2020-12-21 18:06:32 -05:00
|
|
|
- name: Build with Gradle
|
2021-09-30 00:45:09 -04:00
|
|
|
run: ./gradlew build --no-daemon
|