mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 10:35:16 +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
|
uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: 16
|
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
|
- name: Build with Gradle
|
||||||
run: ./gradlew clean test build
|
run: ./gradlew clean test build
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user