-
-
Notifications
You must be signed in to change notification settings - Fork 94
31 lines (30 loc) · 780 Bytes
/
maven.yml
File metadata and controls
31 lines (30 loc) · 780 Bytes
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
name: Java CI
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '8', '11', '17', '21' ]
name: Build
steps:
- name: Setup redis 1
uses: getong/redis-action@v1
with:
redis version: '3.2.3'
host port: 6380
container port: 6380
redis password: 'test'
- name: Setup redis 2
uses: shogo82148/actions-setup-redis@v1
with:
redis-version: '6.x'
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
check-latest: false
- name: Build with Maven
run: mvn -B install