add cache

This commit is contained in:
okx-code
2024-11-06 03:40:06 +00:00
parent b4bd6d383d
commit c0428f4d51
2 changed files with 3 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ jobs:
uses: gradle/actions/setup-gradle@v3
- name: 🐘 Gradle Build
run: CI=true ./gradlew :ansible:build
run: CI=true ./gradlew :ansible:build --parallel --no-daemon
- name: Inject secrets
run: 'echo "$SECRETS_YML" > variables/secrets.yml'

View File

@@ -21,12 +21,13 @@ jobs:
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'
- name: 🐘 Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: 🐘 Gradle Build
run: CI=true ./gradlew :ansible:build
run: CI=true ./gradlew :ansible:build --parallel --no-daemon
- name: Inject secrets
run: 'echo "$SECRETS_YML" > variables/secrets.yml'