Skip to content

Commit

Permalink
CI: Add and improve download/save/restore cache logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ParaskP7 committed Dec 17, 2024
1 parent 04193ac commit 0a0731b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .buildkite/commands/cache-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ echo "--- 🧪 Download Android Test Dependencies [Assemble Android Tests]"
./gradlew assembleJetpackJalapenoDebugAndroidTest
echo ""

echo "--- 💾 Save Cache"
save_gradle_dependency_cache
1 change: 1 addition & 0 deletions .buildkite/hooks/pre-command
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@

set -e

echo "--- 💾 Restore Cache"
restore_gradle_dependency_cache || true
2 changes: 1 addition & 1 deletion .buildkite/schedules/dependency-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ agents:
steps:
- label: "dependency cache"
command: |
echo "--- 💾 Caching"
echo "--- 💾 Download and Cache Dependencies"
.buildkite/commands/cache-dependencies.sh
plugins: [$CI_TOOLKIT]

0 comments on commit 0a0731b

Please sign in to comment.