Skip to content

Updating SDK to 2.1.1 #118

Updating SDK to 2.1.1

Updating SDK to 2.1.1 #118

Workflow file for this run

name: Java SDK Validation
on:
pull_request:
branches: [ master ]
jobs:
validate:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [8, 11, 16, 17]
steps:
- id: checkout
name: Checkout repo
uses: actions/checkout@v3
- id: setup-jdk
name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
- id: cache-gradle
name: Cache Gradle packages
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- id: validate-wrapper
name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- id: executable-wrapper
name: Gradle Wrapper is made executable
run: |
chmod +x ./gradlew
- id: gradle-build
name: Build with Gradle
env:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GPG_KEY: ${{ secrets.GPG_KEY }}
run: |
./gradlew build
- id: gradle-test
name: Test with Gradle
run: |
./gradlew test