Skip to content

Commit f05280f

Browse files
committed
[CI] Update setup-java, remove cache (builtin now)
1 parent af864f1 commit f05280f

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

.github/workflows/ci-tests-nightly.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -57,20 +57,11 @@ jobs:
5757
run: git fetch --prune --unshallow --tags
5858

5959
- name: Set up JDK
60-
uses: actions/setup-java@v2
60+
uses: actions/setup-java@v3
6161
with:
6262
distribution: 'temurin'
6363
java-version: "17"
6464

65-
- name: Cache Gradle packages
66-
uses: actions/cache@v2
67-
with:
68-
path: |
69-
~/.gradle/caches
70-
~/.gradle/wrapper
71-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
72-
restore-keys: ${{ runner.os }}-gradle-
73-
7465
- name: Grant execute permission for gradlew
7566
run: chmod +x gradlew
7667

@@ -110,20 +101,11 @@ jobs:
110101
run: git fetch --prune --unshallow --tags
111102

112103
- name: Set up JDK
113-
uses: actions/setup-java@v2
104+
uses: actions/setup-java@v3
114105
with:
115106
distribution: 'temurin'
116107
java-version: "17"
117108

118-
- name: Cache Gradle packages
119-
uses: actions/cache@v2
120-
with:
121-
path: |
122-
~/.gradle/caches
123-
~/.gradle/wrapper
124-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
125-
restore-keys: ${{ runner.os }}-gradle-
126-
127109
- name: Grant execute permission for gradlew
128110
run: chmod +x gradlew
129111

0 commit comments

Comments
 (0)