Skip to content

Commit 4281753

Browse files
authored
Add a note about quoting (#155)
1 parent 7b5a902 commit 4281753

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ When using `bundler-cache: true` you might notice there is no good place to run
168168
These can be replaced by `BUNDLE_*` environment variables, which are also faster.
169169
They should be set in the `env` at the job level as shown in the [example](#matrix-of-gemfiles).
170170
To find the correct the environment variable name, see the [Bundler docs](https://bundler.io/man/bundle-config.1.html) or look at `.bundle/config` after running `bundle config --local KEY VALUE` locally.
171+
You might need to `"`-quote the environment variable name in YAML if it has unusual characters like `/`.
171172

172173
To perform caching, this action will use `bundle config --local path $PWD/vendor/bundle`.
173174
Therefore, the Bundler `path` should not be changed in your workflow for the cache to work (no `bundle config path`).

0 commit comments

Comments
 (0)