Use cache and user.name system property on Windows

This commit is contained in:
Steve Riesenberg 2022-07-28 12:59:50 -05:00
parent 4393c2ea02
commit 865bf23ecc
No known key found for this signature in database
GPG Key ID: 5F311AB48A55D521
1 changed files with 6 additions and 2 deletions

View File

@ -50,11 +50,15 @@ jobs:
if: needs.prerequisites.outputs.runjobs
steps:
- uses: actions/checkout@v2
- name: Set up gradle
uses: spring-io/spring-gradle-build-action@v1
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'temurin'
- name: Set up Gradle
uses: gradle/gradle-build-action@v2
- name: Set up gradle user name
run: echo 'systemProp.user.name=spring-builds+github' >> gradle.properties
- name: Build with Gradle
env:
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}