Skip to content

Commit 9e05934

Browse files
committed
Fixed release workflow
1 parent 1b5b87a commit 9e05934

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,12 @@ jobs:
1515
with:
1616
fetch-depth: 0
1717

18-
- name: Set up JDK 1.8
19-
uses: actions/setup-java@v1
18+
- name: Set up JDK 17
19+
uses: actions/setup-java@v3
2020
with:
21-
java-version: 1.8
22-
23-
- name: Gradle cache
24-
uses: actions/cache@v2
25-
with:
26-
path: |
27-
~/.gradle/caches
28-
~/.gradle/wrapper
29-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
30-
restore-keys: |
31-
${{ runner.os }}-gradle-
21+
distribution: temurin
22+
java-version: 17
23+
cache: 'gradle'
3224

3325
- name: Release new version
3426
id: release

0 commit comments

Comments
 (0)