This repository has been archived by the owner on Oct 22, 2023. It is now read-only.
Error when configuring batect cache on GitHub Actions #1448
Unanswered
davidtan-tw
asked this question in
Q&A
Replies: 1 comment
-
Are you able to inspect the permissions of the files in both restored caches after downloading them from GitHub Actions but before running Batect? (eg. run Also, do you need these cached files while building the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
As always - thanks for the great work on this awesome tool.
I'm trying to persist batect caches between builds on CI (GitHub Actions), and batect has clear documentation on that.
However, after following the documentation and updating my CI pipeline (changes here), the job fails with the error:
error validating build context: no permission to read from '/home/runner/work/credit-score-prediction/credit-score-prediction/.batect/caches/poetry-cache-and-artifacts/artifacts/.../parso-0.8.3-py2.py3-none-any.whl'
(see build failure). I've triggered the build twice and the error was the same.In my batect.yml, I specify two caches (see code sample below), and this error is related to the second cache. When I comment out the second cache, the error goes away. So my question is: how come it's possible to persist the first cache, but not the second?
Cheers, and thanks!
Beta Was this translation helpful? Give feedback.
All reactions