File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ es-version :
16+ - " 8.19.15"
17+ - " 9.0.8"
18+ - " 9.1.10"
19+ - " 9.2.8"
20+ - " 9.3.4"
21+ - " 9.4.1"
22+ steps :
23+ - uses : actions/checkout@v6
24+
25+ - name : Set up Java 8
26+ uses : actions/setup-java@v5
27+ with :
28+ java-version : ' 8'
29+ distribution : ' temurin'
30+ cache : ' maven'
31+
32+ - name : Run tests (ES ${{ matrix.es-version }})
33+ run : mvn clean verify
34+ env :
35+ ELASTICSEARCH_VERSION : ${{ matrix.es-version }}
36+
37+ build :
38+ runs-on : ubuntu-latest
39+ steps :
40+ - uses : actions/checkout@v6
41+
42+ - name : Set up Java 8
43+ uses : actions/setup-java@v5
44+ with :
45+ java-version : ' 8'
46+ distribution : ' temurin'
47+ cache : ' maven'
48+
49+ - name : Build standalone distribution
50+ run : mvn clean install -Pstandalone -DskipTests
51+
52+ - name : Upload standalone artifacts
53+ uses : actions/upload-artifact@v7.0.1
54+ if : always()
55+ with :
56+ name : standalone-jar
57+ path : target/kafka-connect-elasticsearch-15.2.0-SNAPSHOT-standalone.jar
58+ retention-days : 90
59+
60+ - name : Build distribution
61+ run : mvn clean install -DskipTests
62+
63+ - name : Upload distribution artifact
64+ uses : actions/upload-artifact@v7.0.1
65+ if : always()
66+ with :
67+ name : distribution-package
68+ path : target/kafka-connect-elasticsearch-15.2.0-SNAPSHOT-package
69+ retention-days : 90
You can’t perform that action at this time.
0 commit comments