Repository navigation
Expand file tree
/
Copy pathstep.yml
More file actions
80 lines (63 loc) · 2.58 KB
/
Copy pathstep.yml
File metadata and controls
80 lines (63 loc) · 2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
title: "Bitrise.io Cache:Pull"
summary: "Download the build cache from bitrise.io."
description: |-
Downloads the build cache from bitrise.io, and moves the files back to
their original place. The aim is to speed up your builds as not having to download every single dependency every time can be a serious timesaver.
### Configuring the Step
To be able to pull from a previous build's cache, you need two things.
1. The **Cache:Push** Step at the end of your Workflow.
2. At least one successful build on the same branch in the last seven days.
If there was no successful build on the branch in question in the last seven days, the cache automatically gets deleted.
### Troubleshooting
If the Step fails, check the time of the latest build. If there was a successful build in the last seven days, check if the Workflow included the **Cache:Push** Step.
If the **Cache:Push** Step was present, check the inputs of the Step. It's possible, for example, that the provided cache path is incorrect.
### Useful links
- [Caching](https://devcenter.bitrise.io/builds/caching/about-caching-index/)
### Related Steps
- [Cache:Push](https://www.bitrise.io/integrations/steps/cache-push)
- [Run CocoaPods install](https://www.bitrise.io/integrations/steps/cocoapods-install)
- [Run npm command](https://www.bitrise.io/integrations/steps/npm)
- [yarn](https://www.bitrise.io/integrations/steps/yarn)
website: https://github.com/bitrise-steplib/steps-cache-pull
source_code_url: https://github.com/bitrise-steplib/steps-cache-pull.git
support_url: https://github.com/bitrise-steplib/steps-cache-pull/issues
host_os_tags:
- osx-10.10
- ubuntu-14.04
project_type_tags: []
type_tags:
- utility
is_requires_admin_user: false
is_always_run: false
is_skippable: true
toolkit:
go:
package_name: github.com/bitrise-steplib/steps-cache-pull
deps:
apt_get:
- name: tar
run_if: ".IsCI"
inputs:
- workdir: $BITRISE_SOURCE_DIR
opts:
title: Working directory path
summary: Working directory path
description: |-
Working directory path - should be an absolute path.
- is_debug_mode: "false"
opts:
title: "Debug mode?"
summary: "If debug mode is enabled, the step will print verbose logs"
description: |-
If debug mode is enabled, the step will print verbose logs
is_required: true
value_options:
- "true"
- "false"
- cache_api_url: $BITRISE_CACHE_API_URL
opts:
title: "Cache API URL"
summary: "Cache API URL"
description: |-
Cache API URL
is_dont_change_value: true