Skip to content

Commit aac20e7

Browse files
committed
Add GitHub Action ci build.
1 parent 7b4653e commit aac20e7

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI Build
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
permissions: read-all
8+
9+
jobs:
10+
build-java:
11+
name: Build project
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v6
15+
- name: Setup Java and Maven
16+
uses: spring-projects/spring-data-release/actions/setup-maven@main
17+
with:
18+
java-version: 'main'
19+
develocity-access-key: '${{ secrets.DEVELOCITY_ACCESS_KEY }}'
20+
- name: Git
21+
run: git status
22+
- name: Build
23+
env:
24+
ARTIFACTORY_USR: '${{ secrets.ARTIFACTORY_USERNAME }}'
25+
ARTIFACTORY_PSW: '${{ secrets.ARTIFACTORY_PASSWORD }}'
26+
run: ./mvnw -s settings.xml -Ddevelocity.cache.local.enabled=false -Ddevelocity.cache.remove.enabled=false -Pwith-bom-client verify -B -U

0 commit comments

Comments
 (0)