Update build.yml

This commit is contained in:
Alexander Nozik 2022-01-07 19:26:16 +03:00 committed by GitHub
parent e70ef813de
commit 6260117c68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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