This commit is contained in:
@@ -19,23 +19,18 @@ jobs:
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: zulu
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
cache: gradle
|
||||
|
||||
- name: Cache Gradle
|
||||
- name: Cache Gradle Wrapper Distributions
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path:
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||
restore-keys:
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
path: ~/.gradle/wrapper/dists
|
||||
key: gradle-wrapper-${{ runner.os }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
|
||||
|
||||
- name: Build & Test with Jacoco
|
||||
run: ./gradlew --daemon test jacocoTestReport
|
||||
run: ./gradlew --no-daemon test jacocoTestReport
|
||||
|
||||
- name: Upload Jacoco HTML Report
|
||||
uses: actions/upload-artifact@v3
|
||||
|
||||
Reference in New Issue
Block a user