Chore: add cache action in CI (#1201)

This commit is contained in:
Goooler 2021-09-24 11:15:07 +08:00 committed by GitHub
parent 5c1fadaba2
commit a5619bb0ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,11 @@ jobs:
with: with:
distribution: 'adopt' distribution: 'adopt'
java-version: 11 java-version: 11
- name: Gradle cache
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle/wrapper/gradle-wrapper.properties', '**/buildSrc/src/main/kotlin/**.kt') }}
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with: