github action caching

This commit is contained in:
EmmaKnijn 2024-08-31 10:46:20 +02:00
parent fdcd730819
commit e1bfa36e7a

View file

@ -27,6 +27,14 @@ jobs:
distribution: 'microsoft'
- name: make gradle wrapper executable
run: chmod +x ./gradlew
- uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: build
run: ./gradlew remapJar
- name: capture build artifacts