github action caching
This commit is contained in:
parent
fdcd730819
commit
e1bfa36e7a
1 changed files with 8 additions and 0 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue