Added ReadRows examples #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate YDB Examples | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Validate YDB Examples | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ '8', '11', '17'] | |
env: | |
MAVEN_ARGS: --batch-mode --update-snapshots -Dstyle.color=always | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Download dependencies | |
run: mvn $MAVEN_ARGS dependency:go-offline | |
- name: Build with Maven | |
run: mvn $MAVEN_ARGS package | |