feat : git action gradle build cache add
This commit is contained in:
12
.github/workflows/autoTest.yml
vendored
12
.github/workflows/autoTest.yml
vendored
@@ -15,7 +15,17 @@ jobs:
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '18'
|
||||
|
||||
|
||||
- name: Gradle Caching
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
- name: Grant execute permission gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
|
||||
Reference in New Issue
Block a user