File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,20 +16,24 @@ jobs:
1616
1717 steps :
1818 # Setup
19- - uses : actions/checkout@v2
20- - name : Set up JDK 1.8
21- uses : actions/setup-java@v1
19+ - uses : actions/checkout@v4
20+ - name : Set up JDK 17
21+ uses : actions/setup-java@v4
2222 with :
23- java-version : 1.8
23+ java-version : ' 17'
24+ distribution : ' temurin'
2425 - name : Grant execute permission for gradlew
2526 run : chmod +x gradlew
2627 # Cache
2728 - name : Cache Gradle packages
28- uses : actions/cache@v2
29+ uses : actions/cache@v4
2930 with :
30- path : ~/.gradle/caches
31- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
32- restore-keys : ${{ runner.os }}-gradle
31+ path : |
32+ ~/.gradle/caches
33+ ~/.gradle/wrapper
34+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
35+ restore-keys : |
36+ ${{ runner.os }}-gradle-
3337 # Build
3438 - name : Build
3539 run : ./gradlew build --continue
You can’t perform that action at this time.
0 commit comments