Skip to content

Commit 66da430

Browse files
author
Steve Riesenberg
committed
Use cache and user.name system property on Windows
1 parent 8929bd5 commit 66da430

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/continuous-integration-workflow.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,15 @@ jobs:
5050
if: needs.prerequisites.outputs.runjobs
5151
steps:
5252
- uses: actions/checkout@v2
53-
- name: Set up gradle
54-
uses: spring-io/spring-gradle-build-action@v1
53+
- name: Set up JDK 11
54+
uses: actions/setup-java@v2
5555
with:
5656
java-version: '11'
5757
distribution: 'adopt'
58+
- name: Set up Gradle
59+
uses: gradle/gradle-build-action@v2
60+
- name: Set up gradle user name
61+
run: echo 'systemProp.user.name=spring-builds+github' >> gradle.properties
5862
- name: Build with Gradle
5963
env:
6064
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}

0 commit comments

Comments
 (0)