File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,16 @@ jobs:
29
29
uses : actions/setup-java@v1
30
30
with :
31
31
java-version : ${{ matrix.jdk }}
32
+ - name : Setup gradle user name
33
+ run : |
34
+ mkdir -p ~/.gradle
35
+ echo 'systemProp.user.name=spring-builds' >> ~/.gradle/gradle.properties
32
36
- name : Cache Gradle packages
33
37
uses : actions/cache@v2
34
38
with :
35
39
path : ~/.gradle/caches
36
40
key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
37
41
- name : Build with Gradle
38
-
39
42
run : |
40
43
export GRADLE_ENTERPRISE_CACHE_USERNAME="$GRADLE_ENTERPRISE_CACHE_USER"
41
44
export GRADLE_ENTERPRISE_CACHE_PASSWORD="$GRADLE_ENTERPRISE_CACHE_PASSWORD"
51
54
uses : actions/setup-java@v1
52
55
with :
53
56
java-version : ' 8'
57
+ - name : Setup gradle user name
58
+ run : |
59
+ mkdir -p ~/.gradle
60
+ echo 'systemProp.user.name=spring-builds' >> ~/.gradle/gradle.properties
54
61
- name : Deploy artifacts
55
62
run : |
56
63
export GRADLE_ENTERPRISE_CACHE_USERNAME="$GRADLE_ENTERPRISE_CACHE_USER"
78
85
uses : actions/setup-java@v1
79
86
with :
80
87
java-version : ' 8'
88
+ - name : Setup gradle user name
89
+ run : |
90
+ mkdir -p ~/.gradle
91
+ echo 'systemProp.user.name=spring-builds' >> ~/.gradle/gradle.properties
81
92
- name : Deploy Docs
82
93
run : |
83
94
export GRADLE_ENTERPRISE_CACHE_USERNAME="$GRADLE_ENTERPRISE_CACHE_USER"
You can’t perform that action at this time.
0 commit comments