Skip to content

Merge pull request #6035 from thc202/move-zap2.16-jre17 #12283

Merge pull request #6035 from thc202/move-zap2.16-jre17

Merge pull request #6035 from thc202/move-zap2.16-jre17 #12283

Workflow file for this run

name: Java CI
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [17, 19]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- uses: gradle/actions/setup-gradle@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0 # v4.2.1
with:
gradle-home-cache-includes: |
caches
notifications
wdm
- run: ./gradlew -Dorg.gradle.jvmargs=-Xmx2g assemble
env:
WDM_CACHEPATH: "~/.gradle/wdm"
- run: ./gradlew check