This repository has been archived by the owner on Jan 4, 2024. It is now read-only.
ci: Update gradle command arguments in javaci workflow #6
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] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ '11', '17', '21' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.Java }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: adopt | |
cache: gradle | |
- name: Run the tests with Gradle | |
run: ./gradlew clean build --console=plain --no-daemon |