Update build.yml
This commit is contained in:
parent
e70ef813de
commit
6260117c68
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -15,12 +15,8 @@ jobs:
|
|||||||
uses: actions/setup-java@v2.5.0
|
uses: actions/setup-java@v2.5.0
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 11
|
||||||
- uses: actions/cache@v2.1.7
|
distribution: jdk
|
||||||
|
- name: execute build
|
||||||
|
uses: gradle/gradle-build-action@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
arguments: build
|
||||||
~/.gradle/caches
|
|
||||||
~/.gradle/wrapper
|
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-gradle-
|
|
||||||
- run: ./gradlew build --build-cache --no-daemon --stacktrace
|
|
||||||
|
Loading…
Reference in New Issue
Block a user