Merge pull request #5968 from zapbot/crowdin-update #12020
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: 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: [11, 17, 19] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
- uses: gradle/actions/setup-gradle@v4 | |
with: | |
gradle-home-cache-includes: | | |
caches | |
notifications | |
wdm | |
- run: ./gradlew -Dorg.gradle.jvmargs=-Xmx2g assemble | |
env: | |
WDM_CACHEPATH: "~/.gradle/wdm" | |
- run: ./gradlew check |