diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 81e95fb..a0e376d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,6 +27,14 @@ jobs: java-version: '17' distribution: 'temurin' cache: gradle + - name: Restore gradle.properties + env: + GRADLE_PROPERTIES: ${{ secrets.GRADLE_PROPERTIES }} + shell: bash + run: | + mkdir -p ~/.gradle/ + echo "GRADLE_USER_HOME=${HOME}/.gradle" >> $GITHUB_ENV + echo "${GRADLE_PROPERTIES}" > ~/.gradle/gradle.properties - name: Execute Gradle build run: ./gradlew clean build --refresh-dependencies --info - name: Upload test reports