Bump actions/setup-java from 3.12.0 to 3.13.0 #565
Workflow file for this run
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
# This workflow will build a Java project with Gradle | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | |
name: JDK 11 | |
on: | |
push: | |
branches: [ 3.x ] | |
pull_request: | |
branches: [ 3.x ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0 | |
with: | |
distribution: 'zulu' | |
java-version: '11' | |
- name: Cache Gradle packages | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-1-${{ hashFiles('**/*.gradle') }} | |
restore-keys: ${{ runner.os }}-gradle-1- | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Verify generated module-info | |
run: ./gradlew -PjavaCompatibility=9 jar | |
- name: Build RxJava | |
run: ./gradlew build --stacktrace | |
- name: Generate Javadoc | |
run: ./gradlew javadoc --stacktrace |