Added cache for workflows

This commit is contained in:
Asek3 authored and Bogdan committed 2023-09-04 09:03:14 +03:00
1 parent 8bb8de0fb3
commit 96981494a4
1 file changed
+10
+10
View File
@@ -16,6 +16,16 @@ jobs:
with:
distribution: 'temurin'
java-version: '17'
- name: Initialize caches
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/loom-cache
~/.gradle/wrapper
key: ${{ runner.os }}-build-snapshot-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-build-snapshot-
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build the mod