mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-18 00:20:44 +00:00
add cache
This commit is contained in:
2
.github/workflows/ansible_update_server.yml
vendored
2
.github/workflows/ansible_update_server.yml
vendored
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user