add cache to build workflow

This commit is contained in:
Un1q32
2025-07-10 14:35:00 -04:00
parent 365ab04547
commit fbdbeb656f

View File

@@ -16,6 +16,15 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: ${{ runner.os }}-gradle-
- name: build
run: |
./gradlew build