Implement GH cache to CI. (#74)

This commit is contained in:
Kichura 2023-10-21 17:13:59 +02:00 committed by GitHub
parent 7594239138
commit 9f4c642b5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,15 @@ jobs:
java-version: 8
distribution: 'temurin'
check-latest: true
- name: Cache Dependencies
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build with Gradle
run: ./gradlew shadowJar
- name: Upload Build Artifacts