Skip to content

Commit 87026ed

Browse files
authored
Update gradle.yml
1 parent 63db8bd commit 87026ed

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/gradle.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will build a Java project with Gradle
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
33

4-
name: Java CI with Gradle
4+
name: Make Release from Tag
55

66
on:
77
push:
@@ -15,12 +15,16 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v2
18-
- name: Caches
19-
uses: burrunan/gradle-cache-action@v1
2018
- name: Set up JDK 1.8
2119
uses: actions/setup-java@v1
2220
with:
2321
java-version: 1.8
22+
- name: Cache Gradle packages
23+
uses: actions/cache@v2
24+
with:
25+
path: ~/.gradle/caches
26+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
27+
restore-keys: ${{ runner.os }}-gradle
2428
- name: Grant execute permission for gradlew
2529
run: chmod +x gradlew
2630
- name: Build with Gradle

0 commit comments

Comments
 (0)