Skip to content

Commit cad4b44

Browse files
committed
Add GitHub CI action.
1 parent 1003db9 commit cad4b44

File tree

2 files changed

+27
-5
lines changed

2 files changed

+27
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ jobs:
2323
- name: Prepare Docker Container Licenses
2424
run: ./ci/accept-third-party-license.sh
2525
- name: Build
26-
run: ./mvnw -Dsort -B -U -Pall-dbs clean dependency:list verify
27-
- name: Test Summary
28-
uses: test-summary/action@v2.2
26+
uses: spring-projects/spring-data-release/actions/maven-build@main
2927
with:
30-
paths: '**/TEST-*.xml'
31-
if: always()
28+
run: ./mvnw -Dsort -B -U -Pall-dbs clean dependency:list verify

.github/workflows/snapshots.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Snapshots
2+
3+
on:
4+
push:
5+
branches: [ main, 4.0.x, 3.5.x, 'issue/**' ]
6+
7+
permissions: read-all
8+
9+
jobs:
10+
build-snapshots:
11+
name: Build and deploy snapshots
12+
if: ${{ github.repository_owner == 'spring-projects' }}
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v6
16+
- name: Setup Java and Maven
17+
uses: spring-projects/spring-data-release/actions/setup-maven@main
18+
with:
19+
develocity-access-key: '${{ secrets.DEVELOCITY_ACCESS_KEY }}'
20+
- name: Deploy to Artifactory
21+
uses: spring-projects/spring-data-release/actions/maven-artifactory-deploy@main
22+
with:
23+
build-name: 'spring-data-relational'
24+
username: '${{ secrets.ARTIFACTORY_USERNAME }}'
25+
password: '${{ secrets.ARTIFACTORY_PASSWORD }}'

0 commit comments

Comments
 (0)