File tree 2 files changed +37
-1
lines changed
2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Validate YDB Examples
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ jobs :
9
+ build :
10
+ name : Validate YDB Examples
11
+ runs-on : ubuntu-latest
12
+
13
+ strategy :
14
+ matrix :
15
+ java : [ '8', '11', '17']
16
+
17
+ env :
18
+ MAVEN_ARGS : --batch-mode --update-snapshots -Dstyle.color=always
19
+
20
+ steps :
21
+ - name : Checkout
22
+ uses : actions/checkout@v3
23
+
24
+ - name : Set up JDK
25
+ uses : actions/setup-java@v3
26
+ with :
27
+ java-version : ${{ matrix.java }}
28
+ distribution : ' temurin'
29
+ cache : ' maven'
30
+
31
+ - name : Download dependencies
32
+ run : mvn $MAVEN_ARGS dependency:go-offline
33
+
34
+ - name : Build with Maven
35
+ run : mvn $MAVEN_ARGS package
36
+
Original file line number Diff line number Diff line change 1
1
[ ![ License] ( https://img.shields.io/badge/License-Apache%202.0-blue.svg )] ( https://github.com/ydb-platform/ydb-java-examples/blob/main/LICENSE )
2
- [ ![ Build] ( https://img.shields.io/github/actions/workflow/status/ydb-platform/ydb-java-examples/build .yaml )] ( https://github.com/ydb-platform/ydb-java-examples/actions/workflows/build .yaml )
2
+ [ ![ Build] ( https://img.shields.io/github/actions/workflow/status/ydb-platform/ydb-java-examples/validate .yaml )] ( https://github.com/ydb-platform/ydb-java-examples/actions/workflows/validate .yaml )
3
3
4
4
## YDB Java SDK examples
5
5
You can’t perform that action at this time.
0 commit comments