Skip to content

Commit c365b41

Browse files
committed
Polishing.
1 parent 0c5e432 commit c365b41

5 files changed

Lines changed: 10 additions & 106 deletions

File tree

.github/actions/managed-version/action.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/actions/mongodb/action.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/actions/start-mongodb-server/action.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
name: CI Build
22

33
on:
4-
workflow_dispatch:
4+
workflow_dispatch:
55
push:
6-
# branches: [ main, 5.0.x, 4.5.x, 'issue/**' ]
7-
branches: [ 'issue/actions' ]
6+
branches: [ main, 5.0.x, 4.5.x, 'issue/**' ]
87

98
permissions: read-all
109

@@ -13,7 +12,7 @@ jobs:
1312
strategy:
1413
matrix:
1514
java-version: [ base, main ]
16-
mongo-version: ['latest', '8.2', '8.0', '7.0']
15+
mongodb-version: [ 'latest', '8.2', '8.0', '7.0' ]
1716
name: Build project
1817
runs-on: ubuntu-latest
1918
steps:
@@ -23,13 +22,10 @@ jobs:
2322
with:
2423
java-version: ${{ matrix.java-version }}
2524
develocity-access-key: '${{ secrets.DEVELOCITY_ACCESS_KEY }}'
26-
- name: Initialize MongoDB Server
27-
uses: ./.github/actions/mongodb/
25+
- name: Setup MongoDB Server
26+
uses: spring-projects/spring-data-release/actions/setup-mongodb@main
2827
with:
29-
managed-versions: ${CONFIG_JSON}
30-
mongodb-server-version: '${{ matrix.mongo-version }}'
28+
version: '${{ matrix.mongodb-version }}'
3129
replica-set: 'rs0'
3230
- name: Build
3331
uses: spring-projects/spring-data-release/actions/maven-build@main
34-
with:
35-
run: ./mvnw -Dsort -B -U -Pci clean dependency:list verify

.github/workflows/snapshots.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
name: Snapshot Build
1+
name: Snapshots
22

33
on:
44
workflow_dispatch:
55
push:
6-
# branches: [ main, 5.0.x, 4.5.x, 'issue/**' ]
7-
branches: [ 'issue/actions' ]
6+
branches: [ main, 5.0.x, 4.5.x, 'issue/**' ]
87

98
permissions: read-all
109

@@ -19,11 +18,9 @@ jobs:
1918
uses: spring-projects/spring-data-release/actions/setup-maven@main
2019
with:
2120
develocity-access-key: '${{ secrets.DEVELOCITY_ACCESS_KEY }}'
22-
- name: Initialize MongoDB Server
23-
uses: ./.github/actions/mongodb/
21+
- name: Setup MongoDB Server
22+
uses: spring-projects/spring-data-release/actions/setup-mongodb@main
2423
with:
25-
managed-versions: ${CONFIG_JSON}
26-
mongodb-server-version: 'latest'
2724
replica-set: 'rs0'
2825
- name: Deploy to Artifactory
2926
uses: spring-projects/spring-data-release/actions/maven-artifactory-deploy@main

0 commit comments

Comments
 (0)