8000 action.yml: properly remove temporary files after downloading by mpminardi · Pull Request #171 · tailscale/github-action · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

action.yml: properly remove temporary files after downloading #171

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

Merged
merged 1 commit into from
Apr 9, 2025

Conversation

mpminardi
Copy link
Member

Remove .tgz and .msi files after they have been downloaded. This was the behaviour of the action previous to v3.2.0, but our logic for caching removed the deletion of these files.

Can look at downloading these to temp folders to avoid the more complex logic here as a follow up, but this should unblock / fix the immediate regression.

Updates: #170

@mpminardi mpminardi requested a review from oxtoacart April 9, 2025 19:58
@mpminardi mpminardi self-assigned this Apr 9, 2025
@oxtoacart oxtoacart force-pushed the mpminardi/remove-temp-files branch 10 times, most recently from c59392e to 9302204 Compare April 9, 2025 21:10
Remove `.tgz` and `.msi` files after they have been downloaded. This was
the behaviour of the action previous to `v3.2.0`, but our logic for
caching removed the deletion of these files.

Can look at downloading these to temp folders to avoid the more complex
logic here as a follow up, but this should unblock / fix the immediate
regression.

Also, on Windows, write `tailscale.log` to the temp dir.

Also, on MacOS, delete the `tailscale` directory that was used to build the `tailscale(d)` commands.

Updates: #170

Co-authored-by: Mario Minardi <mario@tailscale.com>
Signed-off-by: Percy Wegmann <percy@tailscale.com>
@oxtoacart oxtoacart force-pushed the mpminardi/remove-temp-files branch from 9302204 to d96747e Compare April 9, 2025 21:11
@oxtoacart oxtoacart merged commit 5d53611 into main Apr 9, 2025
6 checks passed
@oxtoacart oxtoacart deleted the mpminardi/remove-temp-files branch April 9, 2025 21:17
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.

2 participants
0