Skip to content

Commit 9f16e7e

Browse files
chore(CI/spring-keycloak-example): add CI build configuration for Maven
1 parent 4282e9d commit 9f16e7e

File tree

1 file changed

+30
-0
lines changed
  • spring-keycloak-example/.github/workflows

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI Build
2+
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
8+
jobs:
9+
build:
10+
name: Build
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
distribution: [ 'temurin' ]
15+
java: [ '21' ]
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Setup Java 21
20+
uses: actions/setup-java@v4
21+
with:
22+
java-version: ${{ matrix.java }}
23+
distribution: ${{ matrix.distribution }}
24+
cache: 'maven'
25+
26+
- name: Grant execute permission for mvnw
27+
run: chmod +x mvnw
28+
29+
- name: Build with Maven
30+
run: ./mvnw clean verify

0 commit comments

Comments
 (0)