Skip to content

Commit 53ca5b8

Browse files
Add sample builds to GitHub PR action (#196)
1 parent 94e3f97 commit 53ca5b8

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/validate-pr.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,21 @@ jobs:
2626
- name: Clean Build with Gradle
2727
run: ./gradlew clean build
2828

29+
- name: Publish Build to MavenLocal # used by the samples
30+
run: ./gradlew publishToMavenLocal
31+
32+
- name: Build Kotlin-MCP-Client Sample
33+
working-directory: ./samples/kotlin-mcp-client
34+
run: ./gradlew clean build
35+
36+
- name: Build Kotlin-MCP-Server Sample
37+
working-directory: ./samples/kotlin-mcp-server
38+
run: ./gradlew clean build
39+
40+
- name: Build Weather-Stdio-Server Sample
41+
working-directory: ./samples/kotlin-mcp-client
42+
run: ./gradlew clean build
43+
2944
- name: Disable Auto-Merge on Fail
3045
if: failure()
3146
run: gh pr merge --disable-auto "$PR_URL"

0 commit comments

Comments
 (0)