mirror of
https://github.com/accelforce/Yuito
synced 2025-01-03 11:30:29 +01:00
Enable gradle build cache for Bitrise builds (#3840)
Read/write to the cache for nightly / release builds, read from the cache for other builds.
This commit is contained in:
parent
406152d5b9
commit
e35cc2dcef
@ -15,6 +15,9 @@ workflows:
|
|||||||
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
|
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
|
||||||
- git-clone@8.0: {}
|
- git-clone@8.0: {}
|
||||||
- cache-pull@2.7: {}
|
- cache-pull@2.7: {}
|
||||||
|
- activate-build-cache-for-gradle:
|
||||||
|
inputs:
|
||||||
|
- push: 'true'
|
||||||
- install-missing-android-tools:
|
- install-missing-android-tools:
|
||||||
inputs:
|
inputs:
|
||||||
- gradlew_path: $PROJECT_LOCATION/gradlew
|
- gradlew_path: $PROJECT_LOCATION/gradlew
|
||||||
@ -51,6 +54,7 @@ workflows:
|
|||||||
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
|
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
|
||||||
- git-clone: {}
|
- git-clone: {}
|
||||||
- cache-pull@2.7: {}
|
- cache-pull@2.7: {}
|
||||||
|
- activate-build-cache-for-gradle: {}
|
||||||
- install-missing-android-tools:
|
- install-missing-android-tools:
|
||||||
inputs:
|
inputs:
|
||||||
- gradlew_path: $PROJECT_LOCATION/gradlew
|
- gradlew_path: $PROJECT_LOCATION/gradlew
|
||||||
@ -87,6 +91,9 @@ workflows:
|
|||||||
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
|
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
|
||||||
- git-clone: {}
|
- git-clone: {}
|
||||||
- cache-pull@2.7: {}
|
- cache-pull@2.7: {}
|
||||||
|
- activate-build-cache-for-gradle:
|
||||||
|
inputs:
|
||||||
|
- push: 'true'
|
||||||
- install-missing-android-tools@3.1:
|
- install-missing-android-tools@3.1:
|
||||||
inputs:
|
inputs:
|
||||||
- gradlew_path: $PROJECT_LOCATION/gradlew
|
- gradlew_path: $PROJECT_LOCATION/gradlew
|
||||||
|
Loading…
Reference in New Issue
Block a user