-
Notifications
You must be signed in to change notification settings - Fork 18
38 lines (31 loc) · 808 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: CI
on:
push:
tags:
- '*'
branches:
- '*'
schedule:
# everyday 11AM (UTC)
- cron: '* 9 * * *'
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
java_version: [17, 21]
os: [ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java_version }}
cache: 'gradle'
- name: Build uber-jar with Gradle
run: ./gradlew quarkusBuild -Dquarkus.package.type=uber-jar
# - name: Build native image
# run: ./gradlew build -Dquarkus.package.type=native -Dquarkus.native.container-build=true