2021-02-08 20:58:47 +01:00
|
|
|
name: Check
|
2021-10-22 20:55:15 +02:00
|
|
|
on: [push, pull_request]
|
2021-02-08 20:58:47 +01:00
|
|
|
jobs:
|
|
|
|
build:
|
2022-02-28 10:18:27 +01:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2022-12-18 13:01:21 +01:00
|
|
|
java: [ 17-jdk, 19-jdk ]
|
|
|
|
runs-on: ubuntu-22.04
|
2021-02-08 20:58:47 +01:00
|
|
|
container:
|
2022-12-18 13:01:21 +01:00
|
|
|
image: eclipse-temurin:${{ matrix.java }}
|
2021-02-08 20:58:47 +01:00
|
|
|
options: --user root
|
|
|
|
steps:
|
2022-12-18 13:01:21 +01:00
|
|
|
- uses: actions/checkout@v3
|
2022-02-28 10:18:27 +01:00
|
|
|
- run: ./gradlew runDatagen --stacktrace
|
|
|
|
- run: ./gradlew build --stacktrace -x runDatagen
|
2021-02-08 20:58:47 +01:00
|
|
|
|
|
|
|
- name: Upload artifacts
|
2022-12-18 13:01:21 +01:00
|
|
|
uses: actions/upload-artifact@v3
|
2021-02-08 20:58:47 +01:00
|
|
|
with:
|
|
|
|
name: Artifacts
|
|
|
|
path: build/libs/
|