Cache pull failing for Android build

Cache pull build is failing for my Android build.
My workflow is as follows :
Git clone Repository
Bitrise.io Cache:Pull
File Downloader
Install missing Android SDK components
Android Unit Test
Bitrise.io Cache:Push
Deploy to Bitrise.io - Apps, Logs, Artifacts

step cach:pull fails

Downloading remote cache archive
Failed to get cache download url: build cache not found: probably cache not initialised yet (first cache push initialises the cache), nothing to worry about :wink:
WARN[09:27:54] Step (cache-pull) failed, but was marked as skippable
| |
±–±--------------------------------------------------------------±---------+
| ! | cache-pull (exit code: 1) | 4.45 sec |
±–±--------------------------------------------------------------±---------+
| Issue tracker: Issues · bitrise-steplib/steps-cache-pull · GitHub |
| Source: GitHub - bitrise-steplib/steps-cache-pull: Download Cache |
±–±--------------------------------------------------------------±—

cache:push steps gives following log :

±-----------------------------------------------------------------------------+

| (6) cache-push |
±-----------------------------------------------------------------------------+
| id: cache-push |
| version: 2.2.3 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: go |
| time: 2020-03-01T09:36:57Z |
±-----------------------------------------------------------------------------+
| |
WARN[09:36:57] The step’s (cache-push) Run-If expression evaluated to false - skipping
INFO[09:36:57] The Run-If expression was: .IsCI | and (not .IsPR)
| |
±–±--------------------------------------------------------------±---------+
| - | cache-push | 1.26 sec |
±–±--------------------------------------------------------------±---------+

Build no : 5f5a70807208af1f

It seems that it’s a PR build.
Cache Push by default works only on non-PR workflows.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.