Skip to content

Commit 081ebb3

Browse files
committed
added workflow to compile on each PR
1 parent 688826d commit 081ebb3

File tree

2 files changed

+35
-3
lines changed

2 files changed

+35
-3
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: On Pull Request
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
compile:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
java_version:
15+
- 25
16+
steps:
17+
18+
- uses: actions/checkout@v4
19+
20+
- name: Set up JDK ${{ matrix.java_version }}
21+
uses: actions/setup-java@v4
22+
with:
23+
java-version: ${{ matrix.java_version }}
24+
distribution: 'temurin'
25+
cache: 'maven'
26+
27+
- name: Compile with JDK ${{ matrix.java_version }}
28+
run: |
29+
mvn -B -U -T8C compile

jvector-example/pom.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>dev.langchain4j</groupId>
88
<artifactId>jvector-example</artifactId>
9-
<version>1.9.0-beta16-SNAPSHOT</version>
9+
<version>1.9.1-beta17</version>
1010

1111
<properties>
1212
<maven.compiler.source>17</maven.compiler.source>
@@ -15,15 +15,18 @@
1515
</properties>
1616

1717
<dependencies>
18+
1819
<dependency>
1920
<groupId>dev.langchain4j</groupId>
2021
<artifactId>langchain4j-community-jvector</artifactId>
21-
<version>${project.version}</version>
22+
<version>1.9.1-beta17</version>
2223
</dependency>
24+
2325
<dependency>
2426
<groupId>dev.langchain4j</groupId>
2527
<artifactId>langchain4j-embeddings-all-minilm-l6-v2-q</artifactId>
26-
<version>1.8.0-beta15</version>
28+
<version>1.9.1-beta17</version>
2729
</dependency>
30+
2831
</dependencies>
2932
</project>

0 commit comments

Comments
 (0)