File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI Build
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches : [ main, 5.0.x, 4.5.x, 'issue/**' ]
7+
8+ permissions : read-all
9+
10+ jobs :
11+ build-java :
12+ strategy :
13+ matrix :
14+ java-version : [ base, main ]
15+ name : Build project
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v6
19+ - name : Setup Java and Maven
20+ uses : spring-projects/spring-data-release/actions/setup-maven@main
21+ with :
22+ java-version : ${{ matrix.java-version }}
23+ develocity-access-key : ' ${{ secrets.DEVELOCITY_ACCESS_KEY }}'
24+ - name : Setup MongoDB Server
25+ uses : spring-projects/spring-data-release/actions/setup-mongodb@main
26+ with :
27+ replica-set : ' rs0'
28+ - name : Build
29+ uses : spring-projects/spring-data-release/actions/maven-build@main
30+ with :
31+ additional-options : ' -Pit'
Original file line number Diff line number Diff line change 1+ name : Snapshots
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches : [ main, 5.0.x, 4.5.x, 'issue/**' ]
7+
8+ permissions : read-all
9+
10+ jobs :
11+ build-snapshots :
12+ name : Build and deploy snapshots
13+ if : ${{ github.repository_owner == 'spring-projects' }}
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v6
17+ - name : Setup Java and Maven
18+ uses : spring-projects/spring-data-release/actions/setup-maven@main
19+ with :
20+ develocity-access-key : ' ${{ secrets.DEVELOCITY_ACCESS_KEY }}'
21+ - name : Deploy to Artifactory
22+ uses : spring-projects/spring-data-release/actions/maven-artifactory-deploy@main
23+ with :
24+ build-name : ' spring-data-rest'
25+ username : ' ${{ secrets.ARTIFACTORY_USERNAME }}'
26+ password : ' ${{ secrets.ARTIFACTORY_PASSWORD }}'
You can’t perform that action at this time.
0 commit comments