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

View File

@@ -33,6 +33,11 @@ jobs:
with:
distribution: 'adopt'
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
uses: actions/setup-go@v2
with: