File tree Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change 1- # This workflow will build a Java project with Maven
2- # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3-
41name : sdk-java Verify
52
63on :
1411jobs :
1512 build :
1613 runs-on : ubuntu-latest
14+
1715 steps :
18- - uses : actions/checkout@v4
16+ # 1. Checkout this repo
17+ - name : Checkout sdk-java
18+ uses : actions/checkout@v4
19+
20+ # 2. (Temporary) Checkout the langchain4j repo at agentic-module
21+ - name : Checkout langchain4j (agentic-module)
22+ uses : actions/checkout@v4
23+ with :
24+ repository : mariofusco/langchain4j
25+ ref : agentic-module
26+ path : langchain4j
1927
28+ # 3. Set up JDK 17 for both builds
2029 - name : Set up JDK 17
2130 uses : actions/setup-java@v4
2231 with :
2332 distribution : temurin
2433 java-version : 17
2534 cache : ' maven'
2635
36+ # 4. Build the external agentic module
37+ - name : Build langchain4j-agentic
38+ run : |
39+ make -C langchain4j build
40+ mvn -B -f langchain4j/langchain4j-agentic/pom.xml clean install -DskipTests
41+
42+ # 5. Verify the main sdk-java project, excluding the two agentic modules
2743 - name : Verify with Maven
2844 run : |
2945 mvn -B -f pom.xml clean install verify \
3046 -pl ",!fluent/agentic" -pl ",!experimental/agentic" \
3147 -am
3248
49+ # 6. Verify examples
3350 - name : Verify Examples with Maven
3451 run : |
3552 mvn -B -f examples/pom.xml clean install verify
You can’t perform that action at this time.
0 commit comments