build: Codecov report requires sourcees & classes
@@ -837,6 +837,29 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
+ - name: Setup Java
+ uses: actions/setup-java@v3
+ with:
+ java-version: ${{ env.JAVA_VERSION }}
+ distribution: ${{ env.JAVA_DISTRO }}
+
+ - name: Cache Gradle
+ uses: actions/cache@v3
+ with:
+ path: ~/.gradle/caches
+ key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}-${{ hashFiles('**/gradle.properties') }}
+ restore-keys: ${{ runner.os }}-gradle-
+
+ - name: Cache Gradle wrapper
+ uses: actions/cache@v3
+ with:
+ path: ~/.gradle/wrapper
+ key: ${{ runner.os }}-gradlew-${{ hashFiles('**/gradlew') }}
+ restore-keys: ${{ runner.os }}-gradlew-
+
+ - name: Build
+ run: ./gradlew classes
+
- name: Download JaCoCo execution data
uses: actions/download-artifact@v3
with:
