Closed supershal closed 2 months ago
@LucilleH any thoughts on this?
@supershal Good call! Thank you for the suggestion and PR
It seems that the line mentioned in the comment here wasn't fixed wit the PR.
The devbox cache is restored to /usr/local/bin/devbox. https://github.com/jetify-com/devbox-install-action/blob/main/action.yml#L58
@DjoleLepi you are right 😭
The devbox cache is restored to
/usr/local/bin/devbox
. https://github.com/jetify-com/devbox-install-action/blob/main/action.yml#L58This works well with github hosted runners. however self hosted runners runs as a
runner
user and they dont have permission to restore files outside home or workspace. As a result the cache restore fails.Related issue filed at
actions/cache
: https://github.com/actions/cache/issues/1127Various self hosted images are built from Dockerfiles at: https://github.com/actions/actions-runner-controller/tree/master/runner
Should the devbox restored and installed at
~/.local/bin
directory and make it accessible by adding it to $PATH?