Note: fix for this already exists in #35 , just providing additional context.
After forking this, I noticed that the cache actions were failing to persist with the following error
Warning: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.
Which was surprising because these paths do, in fact, exist! After reading the yaml docs on how the vertical bar operator works, my understanding is that
path: "~/.cache/bazel"
results in
~/.cache/bazel
in github's action processor, whereas
path: |
"~/.cache/bazel"
"~/.cache/bazel-repo"
results in
"~/.cache/bazel"
"~/.cache/bazel-repo"
because it doesn't unquote, and the processor isn't handling that at all. Switching to
Note: fix for this already exists in #35 , just providing additional context.
After forking this, I noticed that the cache actions were failing to persist with the following error
Which was surprising because these paths do, in fact, exist! After reading the yaml docs on how the vertical bar operator works, my understanding is that
results in
in github's action processor, whereas
results in
because it doesn't unquote, and the processor isn't handling that at all. Switching to
fixes the caching.