Commit c147ebda authored by DancingSnow's avatar DancingSnow Committed by Melledy
Browse files

Cache gradle files

parent 20feb75c
...@@ -25,6 +25,16 @@ jobs: ...@@ -25,6 +25,16 @@ jobs:
with: with:
distribution: temurin distribution: temurin
java-version: '17' java-version: '17'
- name: Cache gradle files
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
./.gradle/loom-cache
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle', 'gradle.properties', '**/*.accesswidener') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Run Gradle - name: Run Gradle
run: ./gradlew && ./gradlew jar run: ./gradlew && ./gradlew jar
- name: Upload build - name: Upload build
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment