try to implement build cache
This commit is contained in:
@@ -21,12 +21,13 @@ jobs:
|
||||
with:
|
||||
distribution: 'graalvm'
|
||||
java-version: ${{ env.JAVA_VERSION }}
|
||||
cache-jdk: true
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v6
|
||||
with:
|
||||
gradle-version: ${{ env.GRADLE_VERSION }}
|
||||
# Only the main branch writes to the cache; PRs/feature branches read-only
|
||||
cache-read-only: true
|
||||
cache-read-only: false
|
||||
- name: Run Gradle build
|
||||
run: ./gradlew build
|
||||
- name: Prepare Docker image build
|
||||
|
||||
Reference in New Issue
Block a user