Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to overwrite files on cache extraction #1704

Closed
wants to merge 1 commit into from

Conversation

siburny
Copy link

@siburny siburny commented Apr 5, 2024

When using GNU tar, if a file already exists, from a previous run or another cached action, it results in a slew of warning messages.

This change adds the use of --overwrite when using GNU tar so that any existing file will just be overwritten.

Similar issue was fixed in the @actions/tool-cache package, but not in @actions/cache: https://github.com/actions/toolkit/pull/807/files#diff-725a5ef102ee3762738a5500c3d7c5b6afef874a1cb67c55085ad5e4615b1a6f

@siburny siburny closed this by deleting the head repository Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants