Skip to content

Commit

Permalink
Add GitHub workflow to build with Keycloak Nightly (#12)
Browse files Browse the repository at this point in the history
* Add GitHub workflow to build with Keycloak Nightly

Signed-off-by: Jon Koops <[email protected]>

* Use correct `name` for workflow

Co-authored-by: Marek Posolda <[email protected]>
Signed-off-by: Jon Koops <[email protected]>

---------

Signed-off-by: Jon Koops <[email protected]>
Co-authored-by: Marek Posolda <[email protected]>
  • Loading branch information
jonkoops and mposolda authored Jul 24, 2024
1 parent b9e2854 commit 2d88396
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Keycloak Client CI
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
check-latest: true
cache: maven

- name: Build with Keycloak Nightly
run: mvn -B package -Pnightly
22 changes: 22 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,28 @@
</build>

<profiles>
<profile>
<id>nightly</id>
<activation>
<property>
<name>nightly</name>
</property>
</activation>
<repositories>
<repository>
<id>sonatype-snapshots</id>
<name>Sonatype Snapshots</name>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
</profile>
<profile>
<id>jdk9</id>
<activation>
Expand Down

0 comments on commit 2d88396

Please sign in to comment.