mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-12-25 10:28:06 +01:00
Add gradle-cahce for github actions
This commit is contained in:
parent
6186b16e8d
commit
921ddcfbc3
8
.github/workflows/gradle.yml
vendored
8
.github/workflows/gradle.yml
vendored
@ -13,6 +13,14 @@ jobs:
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 16
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: "${{ runner.os }}-bluemap-${{ hashFiles('**/*.gradle*') }}"
|
||||
restore-keys: |
|
||||
${{ runner.os }}-bluemap-
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew clean test build
|
||||
- uses: actions/upload-artifact@v2
|
||||
|
Loading…
Reference in New Issue
Block a user