Update to 1.21.11 (#342) #398
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| paths: | |
| - '**.java' | |
| - 'gradle/**' | |
| - '**.gradle' | |
| - '**.gradle.kts' | |
| pull_request: | |
| branches: [ master ] | |
| paths: | |
| - '**.java' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| # Setting any container image breaks actions/checkout@v2. | |
| # container: | |
| # image: openjdk:16-jdk | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| language: [ 'java' ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'adopt' | |
| - uses: gradle/wrapper-validation-action@v2 | |
| - name: Ensure gradlew.sh is executable | |
| run: chmod +x gradlew | |
| - name: Build project | |
| run: ./gradlew compileJava |