From 485b00ec123030eb0a8fd5b49947f02664a52be2 Mon Sep 17 00:00:00 2001 From: "Roman v. Gemmeren" Date: Wed, 2 Oct 2019 19:00:49 +0200 Subject: [PATCH] clarify cache:path limitation --- doc/ci/yaml/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index 95b57421a6f739..0c00c8b0d1d119 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -1289,7 +1289,7 @@ globally and all jobs will use that definition. #### `cache:paths` -Use the `paths` directive to choose which files or directories will be cached. +Use the `paths` directive to choose which files or directories will be cached. You can only specify paths within your `$CI_PROJECT_DIR`. Wildcards can be used that follow the [glob](https://en.wikipedia.org/wiki/Glob_(programming)) patterns and [filepath.Match](https://golang.org/pkg/path/filepath/#Match). Cache all files in `binaries` that end in `.apk` and the `.config` file: -- GitLab