Bump actions/upload-artifact from 4.3.6 to 4.4.0 #520
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: Pull Request | |
on: | |
pull_request: | |
branches: [ 3.x ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2 | |
with: | |
distribution: 'zulu' | |
java-version: '8' | |
- name: Cache Gradle packages | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.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: Build RxJava | |
run: ./gradlew build --stacktrace | |
- name: Upload to Codecov | |
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0 | |
- name: Generate Javadoc | |
run: ./gradlew javadoc --stacktrace |