Closed dekimsey closed 4 months ago
The GitHub mobile app won't let me transfer this. Please report this here: https://github.com/bats-core/bats-action
Transferred it now.
Hi @dekimsey this is a well know issue, check the readme: https://github.com/bats-core/bats-action?tab=readme-ov-file#about-caching or this issue
Hi @dekimsey this is a well know issue, check the readme: https://github.com/bats-core/bats-action?tab=readme-ov-file#about-caching or this issue
Ah, my apologies. I was confused when I read that section of the readme. I didn't understand the work around was needed.
Thank you for the pointer, I'll go copy/paste some lines there! Is there any reason I might want to use a custom path into my workspace instead of the automatically imported user lib path? ~/.bats/libs/
Is there any reason I might want to use a custom path into my workspace instead of the automatically imported user lib path? ~/.bats/libs/
Nope, the important part is use a path that is inside the runner user home so the cache will work :)
Describe the bug The bats-core/bats-action GitHub Action generates a number of tar extraction warnings while unpacking the cache.
Note: This is reported here because the bats-core/bats-action repository doesn't have issues enabled, I hope I haven't misunderstood!
To Reproduce Steps to reproduce the behavior:
Expected behavior Cache extraction should succeed and not generate warnings.
Environment (please complete the following information):
Additional context
Self-hosted runner.
First run:
Subsequent runs:
Attached are more detailed logs of both.