generated from actions/javascript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 346
Closed
Description
Using the caching functionality of the action various times using different working-directories leads to incorrectly restored caches.
First workflow runs and caches website/vendor/bundle
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
working-directory: websiteSecond workflow runs and restores the cache:
- uses: ruby/setup-ruby@v1
with:
bundler-cache: trueThen the cache gets restored in website/vendor/bundle instead of vendor/bundle.
bundle install runs normally as it is configured to use vendor/bundle
Example of the second workflow. jekyll build fails here as it picks up files in website/vendor/bundle
pmwmedia and marcus-bcl
Metadata
Metadata
Assignees
Labels
No labels