File tree Expand file tree Collapse file tree 2 files changed +8
-18
lines changed Expand file tree Collapse file tree 2 files changed +8
-18
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-latest
8
8
steps :
9
9
- name : Git checkout
10
- uses : actions/checkout@v2
11
- - name : Configure Gradle cache
12
- uses : actions/cache@v1
13
- with :
14
- path : ~/.gradle/caches
15
- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
16
- restore-keys : |
17
- ${{ runner.os }}-gradle-
10
+ uses : actions/checkout@v3
18
11
- name : Set up JDK 11
19
- uses : actions/setup-java@v1
12
+ uses : actions/setup-java@v2
20
13
with :
14
+ cache : gradle
15
+ distribution : microsoft
21
16
java-version : 11
22
17
- name : Build with Gradle
23
18
run : ./gradlew build --scan
Original file line number Diff line number Diff line change @@ -10,17 +10,12 @@ jobs:
10
10
GRADLE_PUBLISH_SECRET : ${{ secrets.GRADLE_PUBLISH_SECRET }}
11
11
steps :
12
12
- name : Git checkout
13
- uses : actions/checkout@v2
14
- - name : Configure Gradle cache
15
- uses : actions/cache@v1
16
- with :
17
- path : ~/.gradle/caches
18
- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
19
- restore-keys : |
20
- ${{ runner.os }}-gradle-
13
+ uses : actions/checkout@v3
21
14
- name : Set up JDK 11
22
- uses : actions/setup-java@v1
15
+ uses : actions/setup-java@v2
23
16
with :
17
+ cache : gradle
18
+ distribution : microsoft
24
19
java-version : 11
25
20
- name : Create gradle.properties
26
21
run : echo -e "gradle.publish.key=$GRADLE_PUBLISH_KEY\ngradle.publish.secret=$GRADLE_PUBLISH_SECRET" > gradle.properties
You can’t perform that action at this time.
0 commit comments