Skip to content

Commit 9dff4f8

Browse files
CI Build
1 parent e26153f commit 9dff4f8

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI Build
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
# branches: [ main, 5.0.x, 4.5.x, 'issue/**' ]
7+
branches: [ 'issue/actions' ]
8+
9+
permissions: read-all
10+
11+
jobs:
12+
build-java:
13+
strategy:
14+
matrix:
15+
java-version: [ base, main ]
16+
name: Build project
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v6
20+
- name: Setup Java and Maven
21+
uses: spring-projects/spring-data-release/actions/setup-maven@main
22+
with:
23+
java-version: ${{ matrix.java-version }}
24+
develocity-access-key: '${{ secrets.DEVELOCITY_ACCESS_KEY }}'
25+
- name: Initialize MongoDB Server
26+
uses: spring-projects/spring-data-mongodb/.github/actions/mongodb@issue/actions
27+
with:
28+
managed-versions: ${CONFIG_JSON}
29+
mongodb-server-version: '8'
30+
- name: Build
31+
uses: spring-projects/spring-data-release/actions/maven-build@main
32+
with:
33+
additional-options: '-Pit'

0 commit comments

Comments
 (0)