-
Notifications
You must be signed in to change notification settings - Fork 7
41 lines (36 loc) · 1.03 KB
/
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
39
40
41
name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build-with-various-java-version:
strategy:
matrix:
version: [8, 11, 17, 21]
project:
- 'microservice-transaction-sample'
- 'multi-storage-transaction-sample'
- 'scalardb-kotlin-sample'
- 'scalardb-sample'
- 'scalardb-sql-jdbc-sample'
- 'spring-data-microservice-transaction-sample'
- 'spring-data-multi-storage-transaction-sample'
- 'spring-data-sample'
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.version }}
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Build with Gradle Wrapper
working-directory: ${{ matrix.project }}
run: ./gradlew build